alertmanager/test
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
..
acceptance Fix flaky TestBatching acceptance test (#1193) 2018-01-11 22:45:59 +01:00
acceptance.go Switch cmd/alertmanager to kingpin (#974) 2018-01-06 11:22:26 +01:00
collector.go PR with changes after code review 2015-11-23 18:24:57 +01:00
mock.go test: add reload test 2017-04-18 12:44:38 +02:00