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> |
||
|---|---|---|
| .. | ||
| alert.go | ||
| alertmanager.go | ||
| alertmanager_test.go | ||
| alertmanagerset.go | ||
| manager.go | ||
| manager_test.go | ||
| metric.go | ||
| sendloop.go | ||
| sendloop_test.go | ||
| util.go | ||
| util_test.go | ||