forked from premiere/premiere-libtorrent
fix test_ssl and test_transfer
This commit is contained in:
parent
87ae3fd01a
commit
4ecccb6fea
|
@ -179,7 +179,7 @@ void test_ssl(int test_idx)
|
|||
TEST_CHECK(st1.state == torrent_status::seeding
|
||||
|| st1.state == torrent_status::checking_files);
|
||||
TEST_CHECK(st2.state == torrent_status::downloading
|
||||
|| st2.state == torrent_status::checking_files);
|
||||
|| st2.state == torrent_status::checking_resume_data);
|
||||
|
||||
test_sleep(100);
|
||||
}
|
||||
|
|
|
@ -414,7 +414,7 @@ void test_transfer(int proxy_type, bool test_disk_full = false, bool test_allowe
|
|||
TEST_CHECK(st1.state == torrent_status::seeding
|
||||
|| st1.state == torrent_status::checking_files);
|
||||
TEST_CHECK(st2.state == torrent_status::downloading
|
||||
|| st2.state == torrent_status::checking_files
|
||||
|| st2.state == torrent_status::checking_resume_data
|
||||
|| (test_disk_full && !st2.error.empty()));
|
||||
|
||||
if (peer_disconnects == 2) break;
|
||||
|
|
Loading…
Reference in New Issue