From 7a72409b61c36abed8fea7da7ca4888826f699da Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Tue, 20 Jul 2021 22:14:17 -0400 Subject: [PATCH] fix dht node test --- tests/unit/dht/test_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/dht/test_node.py b/tests/unit/dht/test_node.py index 75f999a75..639556e63 100644 --- a/tests/unit/dht/test_node.py +++ b/tests/unit/dht/test_node.py @@ -160,5 +160,5 @@ class TestTemporarilyLosingConnection(AsyncioTestCase): await advance(1000) await wait_for( lambda: len(node.protocol.routing_table.get_peers()) >= num_seeds, - lambda: self.assertTrue(len(node.protocol.routing_table.get_peers()) >= num_seeds) + lambda: self.assertGreaterEqual(len(node.protocol.routing_table.get_peers()), num_seeds) )