From e88c4fde9bb54d22455206ec90fe4f6ec8560c04 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 (cherry picked from commit cb62370750f7ff48f68b39dfd2efb24fb63251c9) --- .../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) {