tests don't need the default session features turned on

This commit is contained in:
Arvid Norberg
2008-12-20 23:06:06 +00:00
parent 5f74c1e754
commit 16bfde875d
11 changed files with 27 additions and 26 deletions

View File

@@ -47,9 +47,9 @@ void test_pex()
{
using namespace libtorrent;
session ses1(fingerprint("LT", 0, 1, 0, 0), std::make_pair(48200, 49000));
session ses2(fingerprint("LT", 0, 1, 0, 0), std::make_pair(49200, 50000));
session ses3(fingerprint("LT", 0, 1, 0, 0), std::make_pair(50200, 51000));
session ses1(fingerprint("LT", 0, 1, 0, 0), std::make_pair(48200, 49000), "0.0.0.0", 0);
session ses2(fingerprint("LT", 0, 1, 0, 0), std::make_pair(49200, 50000), "0.0.0.0", 0);
session ses3(fingerprint("LT", 0, 1, 0, 0), std::make_pair(50200, 51000), "0.0.0.0", 0);
// this is to avoid everything finish from a single peer
// immediately. To make the swarm actually connect all