From b273ecef6cb423c2dbe1e219d9221dc1287e9bef Mon Sep 17 00:00:00 2001 From: Manu Agrawal Date: Thu, 5 Dec 2024 11:29:49 +0000 Subject: [PATCH] Skip flaky tests on windows for cloudspanner receiver (#36683) #### Description #### Link to tracking issue Part of https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32397 #### Testing #### Documentation --- .../internal/filter/itemcardinality_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/receiver/googlecloudspannerreceiver/internal/filter/itemcardinality_test.go b/receiver/googlecloudspannerreceiver/internal/filter/itemcardinality_test.go index 13c257804715..ddd57306bc01 100644 --- a/receiver/googlecloudspannerreceiver/internal/filter/itemcardinality_test.go +++ b/receiver/googlecloudspannerreceiver/internal/filter/itemcardinality_test.go @@ -240,6 +240,9 @@ func TestItemCardinalityFilter_FilterItems(t *testing.T) { } func TestItemCardinalityFilter_IncludeItem(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("Skipping test on Windows due to https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32397") + } timestamp := time.Now().UTC() item1 := &Item{SeriesKey: key1, Timestamp: timestamp} item2 := &Item{SeriesKey: key2, Timestamp: timestamp}