PYTHON-5199 Fix handling of MongoDB version in run-server (#2193)
This commit is contained in:
parent
7ef18af49b
commit
4322fdf7ce
@ -18,6 +18,10 @@ def start_server():
|
||||
)
|
||||
test_name = opts.test_name
|
||||
|
||||
# drivers-evergreen-tools expects the version variable to be named MONGODB_VERSION.
|
||||
if "VERSION" in os.environ:
|
||||
os.environ["MONGODB_VERSION"] = os.environ["VERSION"]
|
||||
|
||||
if opts.auth:
|
||||
extra_opts.append("--auth")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user