0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

better timeout

This commit is contained in:
Eliot Horowitz 2011-03-10 11:58:47 -05:00
parent f26b64b49a
commit 87de543df7

View File

@ -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: