diff --git a/test/test_fast_extension.cpp b/test/test_fast_extension.cpp index 54684e883..e4d226ffa 100644 --- a/test/test_fast_extension.cpp +++ b/test/test_fast_extension.cpp @@ -392,6 +392,10 @@ boost::shared_ptr setup_peer(tcp::socket& s, sha1_hash& ih settings_pack sett; sett.set_str(settings_pack::listen_interfaces, "0.0.0.0:48900"); sett.set_int(settings_pack::alert_mask, alert::all_categories); + sett.set_bool(settings_pack::enable_upnp, false); + sett.set_bool(settings_pack::enable_natpmp, false); + sett.set_bool(settings_pack::enable_lsd, false); + sett.set_bool(settings_pack::enable_dht, false); ses.reset(new lt::session(sett, session::add_default_plugins)); error_code ec; diff --git a/test/test_priority.cpp b/test/test_priority.cpp index 40e4a78f8..cc4bd5076 100644 --- a/test/test_priority.cpp +++ b/test/test_priority.cpp @@ -43,7 +43,6 @@ POSSIBILITY OF SUCH DAMAGE. #include "test.hpp" #include "setup_transfer.hpp" -#include "udp_tracker.hpp" #include #include @@ -99,12 +98,7 @@ void test_transfer(settings_pack const& sett) // using a reconnect time > 0 will just add // to the time it will take to complete the test pack.set_int(settings_pack::min_reconnect_time, 0); - pack.set_int(settings_pack::stop_tracker_timeout, 1); - pack.set_bool(settings_pack::announce_to_all_trackers, true); - pack.set_bool(settings_pack::announce_to_all_tiers, true); - // make sure we announce to both http and udp trackers - pack.set_bool(settings_pack::prefer_udp_trackers, false); pack.set_bool(settings_pack::enable_outgoing_utp, false); pack.set_bool(settings_pack::enable_incoming_utp, false); pack.set_int(settings_pack::alert_mask, mask); @@ -114,6 +108,11 @@ void test_transfer(settings_pack const& sett) pack.set_bool(settings_pack::allow_multiple_connections_per_ip, false); pack.set_int(settings_pack::unchoke_slots_limit, 8); + pack.set_bool(settings_pack::enable_upnp, false); + pack.set_bool(settings_pack::enable_natpmp, false); + pack.set_bool(settings_pack::enable_lsd, false); + pack.set_bool(settings_pack::enable_dht, false); + ses1.apply_settings(pack); ses2.apply_settings(pack); diff --git a/test/test_transfer.cpp b/test/test_transfer.cpp index 7e58d01b9..67088502d 100644 --- a/test/test_transfer.cpp +++ b/test/test_transfer.cpp @@ -154,6 +154,11 @@ void test_transfer(int proxy_type, settings_pack const& sett pack.set_str(settings_pack::listen_interfaces, "0.0.0.0:48075"); pack.set_int(settings_pack::alert_mask, mask); + pack.set_bool(settings_pack::enable_upnp, false); + pack.set_bool(settings_pack::enable_natpmp, false); + pack.set_bool(settings_pack::enable_lsd, false); + pack.set_bool(settings_pack::enable_dht, false); + lt::session ses1(pack); pack.set_str(settings_pack::listen_interfaces, "0.0.0.0:49075");