Skip to content

Commit 1e7ebcd

Browse files
celian-garciaFiery-Fenix
authored andcommitted
[chore][receiver/azuremonitorreceiver] chore: ignore resources order in tests (open-telemetry#38856)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR fixes a flaky tests issue. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> Signed-off-by: Célian Garcia <[email protected]>
1 parent d5acda8 commit 1e7ebcd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

receiver/azuremonitorreceiver/scraper_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ func TestAzureScraperScrape(t *testing.T) {
371371
pmetrictest.IgnoreTimestamp(),
372372
pmetrictest.IgnoreStartTimestamp(),
373373
pmetrictest.IgnoreMetricsOrder(),
374+
pmetrictest.IgnoreResourceMetricsOrder(),
374375
))
375376
})
376377
}
@@ -595,6 +596,7 @@ func TestAzureScraperScrapeFilterMetrics(t *testing.T) {
595596
pmetrictest.IgnoreTimestamp(),
596597
pmetrictest.IgnoreStartTimestamp(),
597598
pmetrictest.IgnoreMetricsOrder(),
599+
pmetrictest.IgnoreResourceMetricsOrder(),
598600
))
599601
})
600602
}

0 commit comments

Comments
 (0)