From c992f769290fef892824edcf75e6958b7860390f Mon Sep 17 00:00:00 2001 From: oleiade Date: Mon, 10 Jan 2022 14:02:30 +0100 Subject: [PATCH] fixup! fixup! Remove the JS runtime from threshold calculations --- stats/thresholds_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats/thresholds_test.go b/stats/thresholds_test.go index f88ec439a43..53a7e949fb8 100644 --- a/stats/thresholds_test.go +++ b/stats/thresholds_test.go @@ -410,7 +410,7 @@ func TestThresholds_Run(t *testing.T) { t.Run(testCase.name, func(t *testing.T) { t.Parallel() - thresholds, err := NewThresholds([]string{"p(95)<200"}) + thresholds, err := NewThresholds([]string{"p(95)<2000"}) require.NoError(t, err, "Initializing new thresholds should not fail") gotOk, gotErr := thresholds.Run(testCase.args.sink, testCase.args.duration)