fix reliability of swarm tests
This commit is contained in:
parent
5cb095f6d2
commit
e4e46241a8
|
@ -178,12 +178,12 @@ test-suite libtorrent :
|
|||
[ run test_trackers_extension.cpp ]
|
||||
[ run test_time_critical.cpp ]
|
||||
[ run test_pex.cpp ]
|
||||
[ run test_priority.cpp ]
|
||||
[ run test_swarm.cpp ]
|
||||
[ run test_super_seeding.cpp ]
|
||||
|
||||
# make these test more reliable
|
||||
# [ run test_upnp.cpp ]
|
||||
# [ run test_lsd.cpp ]
|
||||
# [ run test_priority.cpp ]
|
||||
# [ run test_swarm.cpp ]
|
||||
# [ run test_super_seeding.cpp ]
|
||||
;
|
||||
|
||||
|
|
|
@ -111,11 +111,12 @@ void test_swarm(int flags)
|
|||
|
||||
lt::session ses1(pack);
|
||||
|
||||
ses1.apply_settings(pack);
|
||||
|
||||
pack.set_str(settings_pack::listen_interfaces, "0.0.0.0:49000");
|
||||
pack.set_int(settings_pack::download_rate_limit, rate_limit / 2);
|
||||
pack.set_int(settings_pack::upload_rate_limit, rate_limit);
|
||||
lt::session ses2(pack);
|
||||
|
||||
pack.set_str(settings_pack::listen_interfaces, "0.0.0.0:50000");
|
||||
lt::session ses3(pack);
|
||||
|
||||
torrent_handle tor1;
|
||||
|
|
Loading…
Reference in New Issue