diff --git a/test/test_ssl.cpp b/test/test_ssl.cpp index a7e2f13a0..3d1172694 100644 --- a/test/test_ssl.cpp +++ b/test/test_ssl.cpp @@ -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); } diff --git a/test/test_transfer.cpp b/test/test_transfer.cpp index f61f638c0..0cfe07766 100644 --- a/test/test_transfer.cpp +++ b/test/test_transfer.cpp @@ -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;