From e51351a182a13e5cde3650d0596fa9a79971d2f1 Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Tue, 27 Oct 2020 15:45:27 -0700 Subject: [PATCH] Disable TestReadRotatingFiles on windows until issue #1348 is fixed (#1401) Signed-off-by: Bogdan Drutu --- receiver/stanzareceiver/e2e_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/receiver/stanzareceiver/e2e_test.go b/receiver/stanzareceiver/e2e_test.go index 556cf91fc17f..2286bc9e8c87 100644 --- a/receiver/stanzareceiver/e2e_test.go +++ b/receiver/stanzareceiver/e2e_test.go @@ -21,6 +21,7 @@ import ( "log" "os" "path/filepath" + "runtime" "testing" "time" @@ -108,6 +109,11 @@ func TestReadStaticFile(t *testing.T) { } func TestReadRotatingFiles(t *testing.T) { + // https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/1382 + if runtime.GOOS == "windows" { + t.Skip() + } + tests := []rotationTest{ { name: "CopyTruncateTimestamped",