Skip to content

PYTHON-5966 Skip SERVER-128517-affected tests - #2963

Merged
NoahStapp merged 1 commit into
mongodb:mainfrom
NoahStapp:PYTHON-5966-skip
Jul 27, 2026
Merged

PYTHON-5966 Skip SERVER-128517-affected tests#2963
NoahStapp merged 1 commit into
mongodb:mainfrom
NoahStapp:PYTHON-5966-skip

Conversation

@NoahStapp

Copy link
Copy Markdown
Contributor

PYTHON-5966

Changes in this PR

Skip the affected tests.

Test Plan

Test skips.

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?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR implements PYTHON-5966 by adding targeted skips in the unified-format test runner for a small set of tests impacted by SERVER-128517-related behavior, preventing spurious failures in CI.

Changes:

  • Added a PYTHON-5966-specific skip list keyed by test description in maybe_skip_test.
  • Applied the same skips to both asynchronous and synchronous unified-format test runners.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
test/unified_format.py Adds PYTHON-5966 skips to the synchronous unified-format test runner (note: this file is mirrored/generated).
test/asynchronous/unified_format.py Adds the same PYTHON-5966 skips to the asynchronous unified-format test runner (source for synchro generation).

Comment thread test/unified_format.py
Comment on lines +588 to +596
# PYTHON-5966
python_5966_tests = [
"reset server and pool after network timeout error during authentication",
"driver extends timeout while streaming",
"connection pool clear uses interruptinuseconnections=true after monitor timeout",
"error returned from connection pool clear with interruptinuseconnections=true is retryable",
"error returned from connection pool clear with interruptinuseconnections=true is retryable for write",
]
if description in python_5966_tests:
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@NoahStapp
NoahStapp merged commit bf1c577 into mongodb:main Jul 27, 2026
85 of 89 checks passed
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.

4 participants