diff --git a/test/test_utp.cpp b/test/test_utp.cpp index 8a9ad02ca..19cbec869 100644 --- a/test/test_utp.cpp +++ b/test/test_utp.cpp @@ -107,6 +107,8 @@ void test_transfer() print_alerts(ses1, "ses1", true, true, true); print_alerts(ses2, "ses2", true, true, true); + test_sleep(500); + torrent_status st1 = tor1.status(); torrent_status st2 = tor2.status(); @@ -125,8 +127,6 @@ void test_transfer() if (st2.is_finished) break; - test_sleep(500); - TEST_CHECK(st1.state == torrent_status::seeding || st1.state == torrent_status::checking_files); TEST_CHECK(st2.state == torrent_status::downloading);