From 751768ff7034d798be9dd6bb36d3eb1da9fdd465 Mon Sep 17 00:00:00 2001 From: Pablo Baeyens Date: Wed, 11 Dec 2024 15:00:15 +0100 Subject: [PATCH] [chore] Skip TestDefaultBatcher_Split_TimeoutDisabled on Windows (#11848) Relates to #11847 --- exporter/internal/queue/default_batcher_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exporter/internal/queue/default_batcher_test.go b/exporter/internal/queue/default_batcher_test.go index fd415d5fec9..c3bbd413f97 100644 --- a/exporter/internal/queue/default_batcher_test.go +++ b/exporter/internal/queue/default_batcher_test.go @@ -6,6 +6,7 @@ package queue import ( "context" "errors" + "runtime" "testing" "time" @@ -207,6 +208,10 @@ func TestDefaultBatcher_NoSplit_WithTimeout(t *testing.T) { } func TestDefaultBatcher_Split_TimeoutDisabled(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("Skipping test on Windows, see https://github.com/open-telemetry/opentelemetry-collector/issues/11847") + } + tests := []struct { name string maxWorkers int