From 6b2ee1ba284d02d7d76668be3331bbfc19e6db32 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 16 Sep 2008 23:33:34 +0000 Subject: [PATCH] when using safe iterators, test_pe_crypto would fail because it would be too slow --- test/test_pe_crypto.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_pe_crypto.cpp b/test/test_pe_crypto.cpp index 2820ef55c..348010063 100644 --- a/test/test_pe_crypto.cpp +++ b/test/test_pe_crypto.cpp @@ -118,11 +118,13 @@ void test_transfer(libtorrent::pe_settings::enc_policy policy, print_alerts(ses2, "ses2"); if (tor2.is_seed()) break; - test_sleep(100); + test_sleep(1000); } TEST_CHECK(tor2.is_seed()); if (tor2.is_seed()) std::cerr << "done\n"; + ses1.remove_torrent(tor1); + ses2.remove_torrent(tor2); using boost::filesystem::remove_all; remove_all("./tmp1_pe");