mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
better timeout
This commit is contained in:
parent
f26b64b49a
commit
87de543df7
@ -110,7 +110,7 @@ class mongod(object):
|
||||
sock.connect(("localhost", int(port)))
|
||||
sock.close()
|
||||
|
||||
def did_mongod_start(self, port=mongod_port, timeout=80):
|
||||
def did_mongod_start(self, port=mongod_port, timeout=90):
|
||||
while timeout > 0:
|
||||
time.sleep(1)
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user