Skip to content

Conversation

blink1073
Copy link
Member

No description provided.

@blink1073 blink1073 requested a review from NoahStapp May 8, 2025 15:53
@blink1073 blink1073 closed this May 8, 2025
@blink1073 blink1073 reopened this May 8, 2025
await assertion_method(expected_response, client)

# Close the client early to avoid affecting the next scenario run.
await client.close()
Copy link
Member

Choose a reason for hiding this comment

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

Why does leaving the client open have side effects?

Copy link
Member Author

Choose a reason for hiding this comment

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

We discussed in office hours: the thought is that the patching was affecting the previous client(s) that were not yet garbage collected.

@blink1073 blink1073 merged commit 5914ea0 into mongodb:master May 8, 2025
67 of 70 checks passed
@blink1073 blink1073 deleted the test-windows-ctypes branch May 8, 2025 18:10
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