test(processors.parser): Sort test metrics (#15391)
This commit is contained in:
parent
6f294220c2
commit
5e830fb29a
|
|
@ -828,9 +828,9 @@ func TestApply(t *testing.T) {
|
||||||
|
|
||||||
// check timestamp when using with-timestamp merge type
|
// check timestamp when using with-timestamp merge type
|
||||||
if tt.merge == "override-with-timestamp" {
|
if tt.merge == "override-with-timestamp" {
|
||||||
testutil.RequireMetricsEqual(t, tt.expected, output)
|
testutil.RequireMetricsEqual(t, tt.expected, output, testutil.SortMetrics())
|
||||||
} else {
|
} else {
|
||||||
testutil.RequireMetricsEqual(t, tt.expected, output, testutil.IgnoreTime())
|
testutil.RequireMetricsEqual(t, tt.expected, output, testutil.SortMetrics(), testutil.IgnoreTime())
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue