Commit 12dbfcf
committed
fix: use polling loop in async detach test to avoid CI flake
Replace fixed 200ms sleep with a polling loop (50ms interval, 5s
timeout) in TestHooks_BidirectionalPrompt_AsyncDetach. The fixed
sleep was insufficient on CI runners under load, causing consistent
test failures.
Signed-off-by: Meng Yan <myan@redhat.com>1 parent c346d58 commit 12dbfcf
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1398 | 1398 | | |
1399 | 1399 | | |
1400 | 1400 | | |
1401 | | - | |
1402 | | - | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
1403 | 1409 | | |
1404 | 1410 | | |
1405 | 1411 | | |
| |||
0 commit comments