Skip to content

v0.28.30

Choose a tag to compare

@zalando-robot zalando-robot released this 08 Oct 08:51
fb02285

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

  1. FIFO Shedding Assertions: Replaced the rigid statusFifoFull < 2
    check with cumulative capacity validation (statusFifoFull + statusFifoTimeout >= 10 and statusFifoTimeout >= 1) to account for
    sub-millisecond inter-arrival timer drift and wait timeouts under heavy
    CPU load
  2. Request Count Tolerance: Decoupled success validation from strict
    nominal target equality ($N = 100$), comparing statusOK and
    counterMain against completed requests (reqCount with a tolerance
    bound of reqCount >= N-5) to prevent false-positive failures due to
    attack timer truncation

Related Issues

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