From 34771ab2935b9ec8e71d8cde061d0e5e35af7e4e Mon Sep 17 00:00:00 2001 From: hagen1778 Date: Mon, 17 Jun 2024 14:24:54 +0200 Subject: [PATCH] lib/streamaggr: remove accidentally committed changes Signed-off-by: hagen1778 --- lib/streamaggr/streamaggr_test.go | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/lib/streamaggr/streamaggr_test.go b/lib/streamaggr/streamaggr_test.go index aa32bfda4..5090ee31c 100644 --- a/lib/streamaggr/streamaggr_test.go +++ b/lib/streamaggr/streamaggr_test.go @@ -251,32 +251,6 @@ func TestAggregatorsSuccess(t *testing.T) { } } - // rate with duplicated events - f(` -- interval: 1m - by: [cde] - outputs: [rate_sum, rate_avg] -`, ` -foo{abc="123", cde="1"} 0 10 -foo{abc="123", cde="1"} 0 10 -`, `foo:1m_by_cde_rate_avg{cde="1"} 0 -foo:1m_by_cde_rate_sum{cde="1"} 0 -`, "11") - - // rate with duplicated events - f(` -- interval: 1m - by: [cde] - outputs: [rate_sum, rate_avg] -`, ` -foo{abc="123", cde="1"} -4 10 -foo{abc="123", cde="1"} -2 20 -`, `foo:1m_by_cde_rate_avg{cde="1"} 0 -foo:1m_by_cde_rate_sum{cde="1"} 0 -`, "11") - - return - // Empty config f(``, ``, ``, "") f(``, `foo{bar="baz"} 1`, ``, "0")