907ac510f8
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). |
||
---|---|---|
.. | ||
acceptance | ||
acceptance.go | ||
collector.go | ||
mock.go |