Skip to content

Commit

Permalink
Add a few extra combinations
Browse files Browse the repository at this point in the history
  • Loading branch information
jhesketh committed Sep 17, 2024
1 parent c7c3db4 commit 54a52b3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/streamingpromql/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1734,6 +1734,9 @@ func TestCompareVariousMixedMetrics(t *testing.T) {
// {i} f h _ N h s
// {j} f f s s s s
// {k} 0 0 0 N s 0
// {l} h _ f _ s N
// {m} s s N _ _ f
// {n} _ _ _ _ _ _

pointsPerSeries := 6
samples := `
Expand All @@ -1748,6 +1751,9 @@ func TestCompareVariousMixedMetrics(t *testing.T) {
series{label="i", group="c"} 1 {{schema:5 sum:15 count:10 buckets:[3 2 5]}} _ NaN {{schema:2 sum:30 count:25 buckets:[6 9 10 9 1]}} stale
series{label="j", group="c"} 1 -20 stale stale stale stale
series{label="k", group="c"} 0 0 0 NaN stale 0
series{label="l", group="d"} {{schema:1 sum:10 count:5 buckets:[1 2]}} _ 3 _ stale NaN
series{label="m", group="d"} stale stale NaN _ _ 4
series{label="n", group="d"}
`

// Labels for generating combinations
Expand Down

0 comments on commit 54a52b3

Please sign in to comment.