mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
Use testutil.RequireEqual to handle dedupelabels in test
Signed-off-by: Patryk Prus <p@trykpr.us>
This commit is contained in:
parent
ead6dc32b9
commit
676f7665fa
1 changed files with 3 additions and 1 deletions
|
|
@ -1130,7 +1130,9 @@ func TestHead_WALCheckpointMultiRef(t *testing.T) {
|
|||
cprecs := readTestWAL(t, checkpointDir)
|
||||
recs := readTestWAL(t, w.Dir())
|
||||
recs = append(cprecs, recs...)
|
||||
require.Equal(t, tc.expectedWalEntries, recs)
|
||||
|
||||
// Use testutil.RequireEqual which handles labels properly with dedupelabels
|
||||
testutil.RequireEqual(t, tc.expectedWalEntries, recs)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue