mirror of
https://github.com/prometheus/prometheus.git
synced 2025-09-21 13:51:00 +02: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
@ -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…
x
Reference in New Issue
Block a user