We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3d393d + 1b8d62a commit 8d170cbCopy full SHA for 8d170cb
ipyparallel/tests/test_mongodb.py
@@ -31,7 +31,8 @@ def mongo_conn(request):
31
conn_kwargs['port'] = int(os.environ['DB_PORT'])
32
33
try:
34
- c = MongoClient(**conn_kwargs)
+ c = MongoClient(**conn_kwargs, serverSelectionTimeoutMS=2000)
35
+ servinfo = c.server_info()
36
except Exception:
37
c = None
38
if c is not None:
0 commit comments