Skip to content

Commit 3d69f0d

Browse files
committed
Update timeout to 1000ms
1 parent ed29e24 commit 3d69f0d

File tree

1 file changed

+1
-1
lines changed
  • src/pytest_mock_resources/container

1 file changed

+1
-1
lines changed

src/pytest_mock_resources/container/mongo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def ports(self):
4040

4141
def check_fn(self):
4242
try:
43-
client = pymongo.MongoClient(self.host, self.port, timeoutMS=500)
43+
client = pymongo.MongoClient(self.host, self.port, timeoutMS=1000)
4444
db = client[self.root_database]
4545
db.command("ismaster")
4646
except (pymongo.errors.ConnectionFailure, pymongo.errors.PyMongoError):

0 commit comments

Comments
 (0)