Repository navigation
v0.28.30
Changes
test(proxy): fix flaky TestShadow timing and counter assertions (#4327)
Summary
Fixes non-deterministic failures in TestShadow caused by rigid timing
thresholds & Vegeta request count variance under CI load
Changes
-
FIFO Shedding Assertions: Replaced the rigid
statusFifoFull < 2
check with cumulative capacity validation (statusFifoFull + statusFifoTimeout >= 10andstatusFifoTimeout >= 1) to account for
sub-millisecond inter-arrival timer drift and wait timeouts under heavy
CPU load -
Request Count Tolerance: Decoupled success validation from strict
nominal target equality ($N = 100$ ), comparingstatusOKand
counterMainagainst completed requests (reqCountwith a tolerance
bound ofreqCount >= N-5) to prevent false-positive failures due to
attack timer truncation
Related Issues
- Fixes #2683
Multiarch Docker image
Multiarch Docker image is available in GitHub's docker registry:
docker run -it ghcr.io/zalando/skipper:v0.28.30 skipper --help