mirror of
https://github.com/prometheus/prometheus.git
synced 2026-02-10 10:21:19 +01:00
Fix flaky TestStop_DrainingEnabled and TestStop_DrainingDisabled tests. The tests used real HTTP servers and real time, making them susceptible to race conditions and timing-dependent failures. The solution is to convert both tests to use synctest for deterministic fake time. --------- Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>