test(store): skip PluginTestSuiteon non linux machine (#15488)

This commit is contained in:
Julien Robert
2023-03-21 08:49:36 +00:00
committed by GitHub
parent 8aa0d035d8
commit b3552f2183
+5
View File
@@ -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()