From 1f113beb8772b6c23a7ef34bf8525a4942a523ec Mon Sep 17 00:00:00 2001 From: George Robinson Date: Thu, 6 Jul 2023 15:51:04 +0300 Subject: [PATCH] Fix tests Signed-off-by: George Robinson --- test/with_api_v1/acceptance/send_test.go | 2 +- test/with_api_v2/acceptance/send_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/with_api_v1/acceptance/send_test.go b/test/with_api_v1/acceptance/send_test.go index 060c1da505..48bdf442a9 100644 --- a/test/with_api_v1/acceptance/send_test.go +++ b/test/with_api_v1/acceptance/send_test.go @@ -434,7 +434,7 @@ receivers: 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. - co.Want(Between(9, 9.5), + co.Want(Between(4, 4.5), Alert("alertname", "test1").Active(1), Alert("alertname", "test2").Active(4), ) diff --git a/test/with_api_v2/acceptance/send_test.go b/test/with_api_v2/acceptance/send_test.go index 4e13d37ca5..a2dad8289e 100644 --- a/test/with_api_v2/acceptance/send_test.go +++ b/test/with_api_v2/acceptance/send_test.go @@ -455,7 +455,7 @@ receivers: 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. - co.Want(Between(9, 9.5), + co.Want(Between(4, 4.5), Alert("alertname", "test1").Active(1), Alert("alertname", "test2").Active(4), )