test(store): skip PluginTestSuiteon non linux machine (#15488)
This commit is contained in:
parent
8aa0d035d8
commit
b3552f2183
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user