Commit a018b33
committed
test: widen scheduling buffer in get_info suppressed-by-history test
The first send_event.wait() in test_get_info_suppressed_by_question_history
only tolerated 325ms of scheduling delay (_LISTENER_TIME + max random sync
delay + 5ms), which periodically flakes on Windows GitHub runners when the
helper thread + asyncio loop take longer to fire the initial query.
Bump both wait_time formulas by 500ms so loop iteration waits (wait_time *
0.25) absorb CI jitter while still landing every refresh inside the
_DUPLICATE_QUESTION_INTERVAL (999ms) suppression window the test depends on.1 parent dd341a3 commit a018b33
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
445 | 449 | | |
446 | 450 | | |
447 | 451 | | |
| |||
484 | 488 | | |
485 | 489 | | |
486 | 490 | | |
487 | | - | |
| 491 | + | |
488 | 492 | | |
489 | 493 | | |
490 | 494 | | |
| |||
0 commit comments