Skip to content

Fix flaky driver timing assertions in test_base#1287

Open
brianegge wants to merge 1 commit intomorganstanley:mainfrom
brianegge:fix-flaky-driver-timing-test
Open

Fix flaky driver timing assertions in test_base#1287
brianegge wants to merge 1 commit intomorganstanley:mainfrom
brianegge:fix-flaky-driver-timing-test

Conversation

@brianegge
Copy link

Summary

  • Widened upper bounds on driver setup/teardown duration assertions from 0.2-0.3s to 1.0s
  • The tight bounds caused intermittent failures on slow CI runners, particularly Windows with Python 3.10
  • The assertions still validate that durations are reasonable (< 1s) while accommodating CI variability

Test plan

  • Verified the test still passes locally
  • CI passes on all platforms including Windows

🤖 Generated with Claude Code

@brianegge brianegge requested a review from a team as a code owner March 7, 2026 19:02
The upper bounds on driver setup/teardown duration assertions were too
tight (0.2-0.3s), causing intermittent failures on slow CI runners
(especially Windows). Widened to 1.0s which still validates reasonable
timing while accommodating CI variability.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@brianegge brianegge force-pushed the fix-flaky-driver-timing-test branch from 4a27826 to 44d56b1 Compare March 7, 2026 19:35
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.

1 participant