From cb62370750f7ff48f68b39dfd2efb24fb63251c9 Mon Sep 17 00:00:00 2001 From: Pier-Hugues Pellerin Date: Tue, 14 Jul 2020 17:25:37 -0400 Subject: [PATCH] [Elastic Agent] Skip windows TestActionStore failure (#19920) See https://github.com/elastic/beats/issues/19919 --- .../elastic-agent/pkg/agent/application/action_store_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x-pack/elastic-agent/pkg/agent/application/action_store_test.go b/x-pack/elastic-agent/pkg/agent/application/action_store_test.go index 4205deda8b6..a3ccb5b9e48 100644 --- a/x-pack/elastic-agent/pkg/agent/application/action_store_test.go +++ b/x-pack/elastic-agent/pkg/agent/application/action_store_test.go @@ -9,6 +9,7 @@ import ( "io/ioutil" "os" "path/filepath" + "runtime" "testing" "github.com/stretchr/testify/require" @@ -19,6 +20,10 @@ import ( ) func TestActionStore(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("Skipping on windows see https://github.com/elastic/beats/issues/19919") + } + log, _ := logger.New("action_store") withFile := func(fn func(t *testing.T, file string)) func(*testing.T) { return func(t *testing.T) {