From 452e78ba3b402004dd3c5ad6d2b73c8fed86eb24 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 20 Jan 2014 03:00:25 +0000 Subject: [PATCH] wait for torrent to be seeding before trying to connect to it, in test_ssl --- test/test_ssl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_ssl.cpp b/test/test_ssl.cpp index 5d2d7cec2..064e9afeb 100644 --- a/test/test_ssl.cpp +++ b/test/test_ssl.cpp @@ -514,6 +514,7 @@ void test_malicious_peer() , "test"); wait_for_listen(ses1, "ses1"); + wait_for_alert(ses1, torrent_finished_alert::alert_type); for (int i = 0; i < num_attacks; ++i) {