Skip to content

PYTHON-6123 Transactions unified test error-labels-blockConnection is… - #3162

Open
NoahStapp wants to merge 1 commit into
mongodb:mainfrom
NoahStapp:PYTHON-6123
Open

NoahStapp wants to merge 1 commit into
mongodb:mainfrom
NoahStapp:PYTHON-6123

Conversation

@NoahStapp

Copy link
Copy Markdown
Contributor

… flaky due to configuring its failpoint through a client with timeout options

PYTHON-6123

Changes in this PR

Implements DRIVERS-3659.

Test Plan

Existing test changes.

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?

… flaky due to configuring its failpoint through a client with timeout options
@NoahStapp
NoahStapp marked this pull request as ready for review October 29, 2026 15:16
@NoahStapp
NoahStapp requested a review from a team as a code owner October 29, 2026 15:16
@NoahStapp
NoahStapp requested review from aclark4life and a balanced review from Copilot October 29, 2026 15:16

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.

🟢 Approval recommended

No active review issues are reported for the change isolating failpoint setup from the timeout-configured test client.

No open issues 🎉

What changed in this PR

Reduces flakiness in the transactions unified test by separating failpoint configuration from the client with timeout options.

Changes:

  • Adds a dedicated failPointClient with useMultipleMongoses disabled.
  • Uses that client to configure the failpoint instead of client0.
File Description
test/​transactions/​unified/​error-labels-blockConnection.json Isolates failpoint setup from the timeout-configured test client.

Review effort: Balanced

This branch has not been deployed

No deployments
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.

3 participants