Skip to content

Commit d31157b

Browse files
authored
1 parent 55b2f3c commit d31157b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

receiver/k8sclusterreceiver/internal/collection/collector_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@ func TestCollectMetricData(t *testing.T) {
118118
m2 := dc.CollectMetricData(time.Now())
119119

120120
// Second scrape should be the same as the first one except for the timestamp.
121-
assert.NoError(t, pmetrictest.CompareMetrics(m1, m2, pmetrictest.IgnoreTimestamp()))
121+
assert.NoError(t, pmetrictest.CompareMetrics(m1, m2, pmetrictest.IgnoreTimestamp(), pmetrictest.IgnoreResourceMetricsOrder()))
122122
}

0 commit comments

Comments
 (0)