forked from premiere/premiere-libtorrent
make test_utp more likely to pass
This commit is contained in:
parent
5583ed407a
commit
f7c6d9ce6c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue