Skip to content

Commit

Permalink
Update comments in tests
Browse files Browse the repository at this point in the history
Signed-off-by: George Robinson <[email protected]>
  • Loading branch information
grobinson-grafana committed Oct 12, 2023
1 parent 9849fe5 commit 0266390
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/with_api_v1/acceptance/send_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ receivers:
am.Push(At(4), Alert("alertname", "test2"))

co.Want(Between(2, 2.5), Alert("alertname", "test1").Active(1))
// Timers are reset on reload regardless, so we count the 6 second group
// interval from 3 onwards.
// Timers are reset on reload, so if the reload happens at 3 seconds
// then the first flush will happen at reload + group_wait seconds.
co.Want(Between(4, 4.5),
Alert("alertname", "test1").Active(1),
Alert("alertname", "test2").Active(4),
Expand Down
4 changes: 2 additions & 2 deletions test/with_api_v2/acceptance/send_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ receivers:
amc.Push(At(4), Alert("alertname", "test2"))

co.Want(Between(2, 2.5), Alert("alertname", "test1").Active(1))
// Timers are reset on reload regardless, so we count the 6 second group
// interval from 3 onwards.
// Timers are reset on reload, so if the reload happens at 3 seconds
// then the first flush will happen at reload + group_wait seconds.
co.Want(Between(4, 4.5),
Alert("alertname", "test1").Active(1),
Alert("alertname", "test2").Active(4),
Expand Down

0 comments on commit 0266390

Please sign in to comment.