Permalink
Browse files

Increased the number of expected peers.

  • Loading branch information...
1 parent 2e10cf3 commit c7c5af7fa98bc23d30a947fe61b3bca19c96a88e @AnIrishDuck committed May 9, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/test_basic.py
View
@@ -113,7 +113,9 @@ class PeerListTest(FCPBaseTest):
def test_peer_list(self):
_ = yield self.client.deferred['NodeHello']
clients = yield self.client.get_all_peers()
- self.assertTrue(len(clients) > 0)
+ # Ideally the client should be connected to 12 peers. Expect at least
+ # half that.
+ self.assertTrue(len(clients) > 6)
for client in (dict(l) for l in clients):
self.assertTrue(client['identity'] is not None)

0 comments on commit c7c5af7

Please sign in to comment.