Skip to content

Commit af69be4

Browse files
committed
handle version
1 parent e7e8c11 commit af69be4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.evergreen/scripts/setup_tests.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,14 @@ def handle_test_env() -> None:
324324

325325
# The mock OCSP responder MUST BE started before the mongod as the mongod expects that
326326
# a responder will be available upon startup.
327-
cmd = ["bash", f"{DRIVERS_TOOLS}/.evergreen/run-orchestration.sh", "--ssl"]
327+
version = os.environ.get("VERSION", "latest")
328+
cmd = [
329+
"bash",
330+
f"{DRIVERS_TOOLS}/.evergreen/run-orchestration.sh",
331+
"--ssl",
332+
"--version",
333+
version,
334+
]
328335
if opts.verbose:
329336
cmd.append("-v")
330337
elif opts.quiet:

0 commit comments

Comments
 (0)