Skip to content

Commit

Permalink
Fix test - now that mettadata is added to the labelResults, the itera…
Browse files Browse the repository at this point in the history
…tor order for entries in the same timestamp is different
  • Loading branch information
salvacorts committed Jun 27, 2023
1 parent 8ff8f34 commit 8a8bd95
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/chunkenc/memchunk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func TestBlock(t *testing.T) {
{
ts: 8,
str: "hello, worl\nd8!",
lbs: `{a="a2", b="b"}`,
lbs: labels.Labels{}.String(),
},
{
ts: 8,
Expand All @@ -134,6 +134,11 @@ func TestBlock(t *testing.T) {
str: "",
lbs: labels.Labels{}.String(),
},
{
ts: 10,
str: "hello, world10!",
lbs: `{a="a2", b="b"}`,
},
}

for _, c := range cases {
Expand Down

0 comments on commit 8a8bd95

Please sign in to comment.