alertmanager/dispatch
pasquier-s 907ac510f8 Fix flaky TestBatching acceptance test (#1193)
This change decreases the repeat_interval parameter from 5s to 4.9s to
make sure that the alerts are effectively sent after 5 seconds.

The workflow is:
- The dispatcher flushes the alerts at t0, sends the notification and
marks the notification log at t0+epsilon.
- The dispatcher flushes the alerts at t1, t2, t3 and t4 and doesn't
send the notifications as expected.
- At t5, the dispatcher flushes the alerts because current_time - (t0+epsilon)
is less then repeat_interval.

If repeat_interval is exactly 5s, there is a little chance that it is
greater than current_time - (t0+epsilon).
2018-01-11 22:45:59 +01:00
..
dispatch_test.go Convert Alertmanager to use non-global go-kit loggers 2017-10-22 00:20:40 -07:00
dispatch.go Fix flaky TestBatching acceptance test (#1193) 2018-01-11 22:45:59 +01:00
route_test.go Make sure Matchers are always ordered 2017-06-23 15:30:34 +02:00
route.go Make sure Matchers are always ordered 2017-06-23 15:30:34 +02:00