Skip to content

PYTHON-5213 Convert AWS Lambda and Search Index tests to use new test scripts #2205

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

Merged
merged 15 commits into from
Mar 19, 2025

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented Mar 14, 2025

@blink1073 blink1073 requested a review from Jibola March 14, 2025 21:24
Jibola
Jibola previously approved these changes Mar 19, 2025
Copy link
Contributor

@Jibola Jibola left a comment

Choose a reason for hiding this comment

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

Two non-blocking comments. Overall, LGTM!

@@ -672,7 +672,7 @@ def create_search_index_variants():
python = CPYTHONS[0]
return [
create_variant(
["test_atlas_task_group_search_indexes"],
[".index_management"],
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think about making the name more verbose?

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated to search_index in all dev-facing places.

@@ -175,6 +175,28 @@ def handle_test_env() -> None:
if not config:
AUTH = "noauth"

if test_name in ["aws_lambda", "index_management"]:
env = os.environ.copy()
env["MONGODB_VERSION"] = "7.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

Earlier we set the MONGODB_VERSION to 6.0 for index_management and this is overriding that from the copy. Do we need to set 6.0 whatsoever?

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

@blink1073
Copy link
Member Author

@blink1073 blink1073 requested a review from Jibola March 19, 2025 16:09
@blink1073
Copy link
Member Author

blink1073 commented Mar 19, 2025

@blink1073
Copy link
Member Author

All green again

@blink1073 blink1073 merged commit 134f52f into mongodb:master Mar 19, 2025
38 checks passed
@blink1073 blink1073 deleted the PYTHON-5213 branch March 19, 2025 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants