-
Notifications
You must be signed in to change notification settings - Fork 68
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-5157 Convert aws tests to use python scripts #624
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NoahStapp
approved these changes
Mar 5, 2025
eramongodb
approved these changes
Mar 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor feedback; otherwise, LGTM.
Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com>
Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com>
…ergreen-tools into PYTHON-5157-redux-2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is yet another attempt, this time with three drivers, including their AWS Lambda tests:
Node Driver: https://spruce.mongodb.com/task/mongo_node_driver_next_rhel8_test_lambda_test_lambda_aws_auth_example_patch_210720094d15bf72a07ba09e9957a8d9b8d81d80_67c8a6e39ed585000741dcc1_25_03_05_19_33_00/logs?execution=3&sortBy=STATUS&sortDir=ASC
C Driver: https://spruce.mongodb.com/version/67c8b310155642000786045c/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC
PyMongo (using mongodb/mongo-python-driver#2180): https://spruce.mongodb.com/version/67c8b4c060fd8b00076eeef4/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC
Also adds a regression test for setting up AWS auth. The second bug was that
env-creds
andsession-creds
cannot be aliases to other commands. They have the same setup, but do not include user info in the MONGODB_URI, but as AWS environment variables.