wait for torrent to be seeding before trying to connect to it, in test_ssl

This commit is contained in:
Arvid Norberg 2014-01-20 03:00:25 +00:00
parent 967c56dff8
commit 452e78ba3b
1 changed files with 1 additions and 0 deletions

View File

@ -514,6 +514,7 @@ void test_malicious_peer()
, "test"); , "test");
wait_for_listen(ses1, "ses1"); wait_for_listen(ses1, "ses1");
wait_for_alert(ses1, torrent_finished_alert::alert_type);
for (int i = 0; i < num_attacks; ++i) for (int i = 0; i < num_attacks; ++i)
{ {