Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PYTHON-5199 Fix handling of MongoDB version in run-server #2193

Merged
merged 2 commits into from
Mar 12, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .evergreen/scripts/run_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ def start_server():
)
test_name = opts.test_name

# drivers-evergreen-tools expects the version variable to be named MONGOD_VERSION.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the variable name supposed to be MONGODB_VERSION as below or MONGOD_VERSION as the comment suggests?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

if "VERSION" in os.environ:
os.environ["MONGODB_VERSION"] = os.environ["VERSION"]

if opts.auth:
extra_opts.append("--auth")

Expand Down
Loading