Commit fbb209a
committed
🧪 Fix flaky daemon stop test (#7319)
Wait for the daemon PID file to disappear before asserting that
`is_daemon_running` is false in `test_daemon_stop`.
The CLI stop command can return before Circus removes the PID
file, which makes an immediate assertion timing-sensitive in CI.
This aligns the test with the existing daemon fixtures, which
already apply the same extra wait to avoid this race.
Reviewed-by: Julian Geiger <julian.geiger@psi.ch>1 parent f391086 commit fbb209a
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
| |||
0 commit comments