Skip to content

Commit 4322fdf

Browse files
authored
PYTHON-5199 Fix handling of MongoDB version in run-server (#2193)
1 parent 7ef18af commit 4322fdf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.evergreen/scripts/run_server.py

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ def start_server():
1818
)
1919
test_name = opts.test_name
2020

21+
# drivers-evergreen-tools expects the version variable to be named MONGODB_VERSION.
22+
if "VERSION" in os.environ:
23+
os.environ["MONGODB_VERSION"] = os.environ["VERSION"]
24+
2125
if opts.auth:
2226
extra_opts.append("--auth")
2327

0 commit comments

Comments
 (0)