mirror of
https://github.com/prometheus/prometheus.git
synced 2025-11-28 22:21:21 +01:00
Fix unstable fanin test (#2558)
This commit is contained in:
parent
dafae52efa
commit
eac36d123e
@ -698,6 +698,9 @@ func TestMetricsForLabelMatchersIgnoresRemoteData(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
sort.Slice(got, func(i, j int) bool {
|
||||
return got[i].Metric.Before(got[j].Metric)
|
||||
})
|
||||
|
||||
want := []metric.Metric{
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user