PYTHON-5861 Fix macOS ARM64 test regressions#2853
Draft
blink1073 wants to merge 3 commits into
Draft
Conversation
Skip or fix five tests that fail consistently on macOS ARM64 CI due to slow $where JavaScript execution and tight CSOT timeouts on that host.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
asyncio.Barrier hangs indefinitely on macOS ARM64 when fewer than N_TASKS parties arrive at the barrier within the timeout, causing the test to hit the 25-minute per-test timeout.
test_connection_pool_is_not_cleared runs 100 tasks each using $where delay(0.1) with no join timeout, taking 1715s on ARM64. test_where exercises cursor.where() which executes $where JS, taking 76s on ARM64.
6 tasks
This file contains hidden or 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
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.
PYTHON-5861
Changes in this PR
Fix macOS ARM64 CI test regressions introduced after merging PYTHON-3689.
Test Plan
Evergreen patch: https://evergreen.mongodb.com/patch/6a22155d025f1b00076e6216
Checklist
Checklist for Author
Checklist for Reviewer