From 425abe8a933d44052ca8f10b73ddd7eb8c479fdb Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Tue, 9 Jul 2024 00:39:41 +0300 Subject: [PATCH] Relax the condition in TestProcess.test_connections() a bit --- minode/tests/test_process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minode/tests/test_process.py b/minode/tests/test_process.py index 4653f61..51dcf8e 100644 --- a/minode/tests/test_process.py +++ b/minode/tests/test_process.py @@ -104,7 +104,7 @@ class TestProcess(TestProcessProto): time.sleep(1) for _ in range(self._wait_time * 2): - if len(self.connections()) > self._connection_limit / 2: + if len(self.connections()) >= self._connection_limit / 2: _time_to_connect = round(time.time() - _started) break if '--i2p' not in self._process_cmd: