lib/streamaggr: remove accidentally committed changes

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2024-06-17 14:24:54 +02:00
parent 6149adbe10
commit 34771ab293
No known key found for this signature in database
GPG key ID: 3BF75F3741CA9640

View file

@ -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")