Commit 4c03fa2
test: widen tolerance in test_currentthread_now to fix flake
The test reads the wall clock twice with construction in between and
asserts the gap is under 5ms. Under pytest-xdist on a shared CI VM,
GC pauses or scheduler jitter routinely push that gap past 5ms
(observed 14ms in CI). 50ms still proves the scheduler is not
clearly broken without flaking on routine load.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 56f1103 commit 4c03fa2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments