Relax the condition in TestProcess.test_connections() a bit
This commit is contained in:
parent
c6b5f490d9
commit
425abe8a93
|
@ -104,7 +104,7 @@ class TestProcess(TestProcessProto):
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
for _ in range(self._wait_time * 2):
|
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)
|
_time_to_connect = round(time.time() - _started)
|
||||||
break
|
break
|
||||||
if '--i2p' not in self._process_cmd:
|
if '--i2p' not in self._process_cmd:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user