Commit 55e300e
authored
fix: increase WaitActiveInstanceTimeout in TestCompactor_RingLifecyclerShouldAutoForgetUnhealthyInstances (#7503)
The test was flaky because WaitActiveInstanceTimeout (5s from prepareConfig)
was too tight when combined with WaitStabilityMinDuration=1s and
WaitStabilityMaxDuration=5s. On slow CI machines, the ring lifecycler may
not transition to ACTIVE within 5s, causing a context deadline exceeded
error at StartAndAwaitRunning.
Increase WaitActiveInstanceTimeout to 30s to give sufficient headroom for
the ring to stabilize on slow CI environments.
Signed-off-by: Ben Ye <benye@amazon.com>1 parent 4abf274 commit 55e300e
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2201 | 2201 | | |
2202 | 2202 | | |
2203 | 2203 | | |
| 2204 | + | |
2204 | 2205 | | |
2205 | 2206 | | |
2206 | 2207 | | |
| |||
0 commit comments