From e5483676b7d44909075ec927512f386b39258b62 Mon Sep 17 00:00:00 2001 From: Onsi Fakhouri Date: Tue, 29 Oct 2024 14:33:23 -0600 Subject: [PATCH] increase threshold in timeline matcher --- internal/test_helpers/fake_reporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/test_helpers/fake_reporter.go b/internal/test_helpers/fake_reporter.go index 52f3c30f0..9d1db935c 100644 --- a/internal/test_helpers/fake_reporter.go +++ b/internal/test_helpers/fake_reporter.go @@ -372,7 +372,7 @@ func BeSpecEvent(options ...interface{}) OmegaMatcher { matcher = HaveField("Attempt", x) description = append(description, fmt.Sprintf("Attempt=%d", x)) case time.Duration: - matcher = HaveField("Duration", BeNumerically("~", x, time.Duration(float64(x)*0.5))) + matcher = HaveField("Duration", BeNumerically("~", x, time.Duration(float64(x)*0.9))) description = append(description, "Duration="+x.String()) case types.NodeType: matcher = HaveField("NodeType", x)