Skip to content

Commit cdaa49f

Browse files
committed
add sleeps
1 parent af69be4 commit cdaa49f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.evergreen/scripts/setup_tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import stat
99
import tarfile
1010
from pathlib import Path
11+
from time import sleep
1112
from urllib import request
1213

1314
from utils import (
@@ -321,6 +322,7 @@ def handle_test_env() -> None:
321322
env["SERVER_TYPE"] = server_type
322323
env["OCSP_ALGORITHM"] = ocsp_algo
323324
run_command(f"bash {DRIVERS_TOOLS}/.evergreen/ocsp/setup.sh", env=env)
325+
sleep(5)
324326

325327
# The mock OCSP responder MUST BE started before the mongod as the mongod expects that
326328
# a responder will be available upon startup.
@@ -337,6 +339,7 @@ def handle_test_env() -> None:
337339
elif opts.quiet:
338340
cmd.append("-q")
339341
run_command(cmd, cwd=DRIVERS_TOOLS)
342+
sleep(5)
340343

341344
if SSL != "nossl":
342345
if not DRIVERS_TOOLS:

0 commit comments

Comments
 (0)