Skip to content

Commit 02b4d18

Browse files
committed
Add more time for timeout
1 parent 5614d31 commit 02b4d18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run_test_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def start_mongodb_docker(version="8.0"):
126126
capture_output=True,
127127
text=True,
128128
check=True,
129-
timeout=30,
129+
timeout=120,
130130
)
131131

132132
print(f"Container started: {result.stdout.strip()}")
@@ -151,7 +151,7 @@ def stop_mongodb_docker():
151151
return False
152152

153153

154-
def wait_for_mongodb(host=MONGODB_HOST, port=MONGODB_PORT, timeout=30):
154+
def wait_for_mongodb(host=MONGODB_HOST, port=MONGODB_PORT, timeout=90):
155155
"""Wait for MongoDB to be ready"""
156156
print(f"Waiting for MongoDB at {host}:{port}... (timeout: {timeout}s)")
157157

0 commit comments

Comments
 (0)