fix test_ssl and test_transfer

This commit is contained in:
Arvid Norberg 2013-07-30 07:13:12 +00:00
parent 87ae3fd01a
commit 4ecccb6fea
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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;