From b3552f21832c6e6e6159d834d1d9b37c8e1632df Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Tue, 21 Mar 2023 09:49:36 +0100 Subject: [PATCH] test(store): skip `PluginTestSuite`on non linux machine (#15488) --- store/streaming/streaming_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/store/streaming/streaming_test.go b/store/streaming/streaming_test.go index 62ca55e63e..14cc028e5d 100644 --- a/store/streaming/streaming_test.go +++ b/store/streaming/streaming_test.go @@ -4,6 +4,7 @@ import ( "context" "fmt" "os" + "runtime" "testing" "time" @@ -38,6 +39,10 @@ type PluginTestSuite struct { } func (s *PluginTestSuite) SetupTest() { + if runtime.GOOS != "linux" { + s.T().Skip("only run on linux") + } + path, err := os.Getwd() if err != nil { s.T().Fail()