Commit d4360fa
fix(test): fix flaky TestVerifyStartupNudgeDelivery_IdleAgent session collision
tmux kill-session can be async — the session may still exist briefly
after kill-session returns. Add a wait loop with HasSession to verify
the session is fully destroyed before creating a new one.
Fixes: gt-eo8d
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 0845edd commit d4360fa
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
| 441 | + | |
441 | 442 | | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
442 | 449 | | |
443 | 450 | | |
444 | 451 | | |
| |||
0 commit comments