Skip to content

PYTHON Fix cached AWS credentials after connection errors - #3144

Closed
farheenss005 wants to merge 2 commits into
mongodb:mainfrom
farheenss005:fix-aws-auth-cache
Closed

farheenss005 wants to merge 2 commits into
mongodb:mainfrom
farheenss005:fix-aws-auth-cache

Conversation

@farheenss005

@farheenss005 farheenss005 commented Oct 26, 2026 •

Copy link
Copy Markdown

PYTHON Add regression test for AWS credential cache clearing

Changes in this PR

Added a test for asynchronous AWS authentication to verify that cached credentials are cleared when a connection error occurs.

Test Plan

  • Ran uv run pytest test/asynchronous/test_auth_aws.py -v.
  • Result: 1 test passed in approximately 10 seconds.

Checklist

Checklist for Author

  • Did you update the changelog (if necessary)?
  • Is there test coverage?
  • Is any followup work tracked in a JIRA ticket? If so, add link(s).

Checklist for Reviewer

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Is all relevant documentation (README or docstring) updated?

@farheenss005
farheenss005 requested a review from a team as a code owner October 26, 2026 19:55
@NoahStapp

Copy link
Copy Markdown
Contributor

Hi,

Please re-open with a filled out PR template.

@NoahStapp NoahStapp closed this Oct 26, 2026
@farheenss005

farheenss005 commented Oct 27, 2026 •

Copy link
Copy Markdown
Author

Hi,

Please re-open with a filled out PR template.

Thank you for the feedback. I've filled out the PR template through (#3150).

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