Ignore some tests on darwin

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko
2021-03-24 22:40:22 -07:00
parent 55450e7730
commit 4674ad7beb
3 changed files with 15 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ package server
import (
"net"
goruntime "runtime"
"testing"
cni "github.com/containerd/go-cni"
@@ -33,6 +34,10 @@ import (
)
func TestSandboxContainerSpec(t *testing.T) {
if goruntime.GOOS == "darwin" {
t.Skip("not implemented on Darwin")
}
testID := "test-id"
nsPath := "test-cni"
for desc, test := range map[string]struct {