From 9db1fac75f1a1cafde2e8437085411c89b86fe07 Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Wed, 4 Dec 2024 13:36:51 +0200 Subject: [PATCH] Fix thresholds unit test by extending snooze --- engine/thresholds_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/thresholds_test.go b/engine/thresholds_test.go index bd186b046..498d895b7 100644 --- a/engine/thresholds_test.go +++ b/engine/thresholds_test.go @@ -871,7 +871,7 @@ func TestThSProcessEventMaxHits(t *testing.T) { func TestThresholdsProcessEvent3(t *testing.T) { to := Threshold{ Snooze: time.Date( - 2024, 11, 17, 20, 34, 58, 651387237, time.UTC), + 2030, 11, 17, 20, 34, 58, 651387237, time.UTC), } err := to.ProcessEvent(nil, nil)