prometheus/notifier
Arve Knudsen 020a0b30a0
notifier: fix flaky TestStop_DrainingEnabled and TestStop_DrainingDisabled race conditions (#17938)
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>
2026-01-29 08:07:32 +01:00
..
alert.go
alertmanager.go
alertmanager_test.go
alertmanagerset.go
manager.go
manager_test.go notifier: fix flaky TestStop_DrainingEnabled and TestStop_DrainingDisabled race conditions (#17938) 2026-01-29 08:07:32 +01:00
metric.go
sendloop.go
sendloop_test.go
util.go
util_test.go