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

This commit is contained in:
Julien Robert 2023-03-21 09:49:36 +01:00 committed by GitHub
parent 8aa0d035d8
commit b3552f2183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()