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.
1 parent ed29e24 commit 3d69f0dCopy full SHA for 3d69f0d
src/pytest_mock_resources/container/mongo.py
@@ -40,7 +40,7 @@ def ports(self):
40
41
def check_fn(self):
42
try:
43
- client = pymongo.MongoClient(self.host, self.port, timeoutMS=500)
+ client = pymongo.MongoClient(self.host, self.port, timeoutMS=1000)
44
db = client[self.root_database]
45
db.command("ismaster")
46
except (pymongo.errors.ConnectionFailure, pymongo.errors.PyMongoError):
0 commit comments