Ignore some tests on darwin
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
parent
55450e7730
commit
4674ad7beb
@ -1,4 +1,4 @@
|
|||||||
// +build !windows
|
// +build !windows,!darwin
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright The containerd Authors.
|
Copyright The containerd Authors.
|
||||||
|
@ -19,6 +19,7 @@ package server
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
goruntime "runtime"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/containerd/containerd/oci"
|
"github.com/containerd/containerd/oci"
|
||||||
@ -68,6 +69,10 @@ func TestGeneralContainerSpec(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestPodAnnotationPassthroughContainerSpec(t *testing.T) {
|
func TestPodAnnotationPassthroughContainerSpec(t *testing.T) {
|
||||||
|
if goruntime.GOOS == "darwin" {
|
||||||
|
t.Skip("not implemented on Darwin")
|
||||||
|
}
|
||||||
|
|
||||||
testID := "test-id"
|
testID := "test-id"
|
||||||
testSandboxID := "sandbox-id"
|
testSandboxID := "sandbox-id"
|
||||||
testContainerName := "container-name"
|
testContainerName := "container-name"
|
||||||
@ -272,6 +277,10 @@ func TestVolumeMounts(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestContainerAnnotationPassthroughContainerSpec(t *testing.T) {
|
func TestContainerAnnotationPassthroughContainerSpec(t *testing.T) {
|
||||||
|
if goruntime.GOOS == "darwin" {
|
||||||
|
t.Skip("not implemented on Darwin")
|
||||||
|
}
|
||||||
|
|
||||||
testID := "test-id"
|
testID := "test-id"
|
||||||
testSandboxID := "sandbox-id"
|
testSandboxID := "sandbox-id"
|
||||||
testContainerName := "container-name"
|
testContainerName := "container-name"
|
||||||
|
@ -18,6 +18,7 @@ package server
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"net"
|
"net"
|
||||||
|
goruntime "runtime"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
cni "github.com/containerd/go-cni"
|
cni "github.com/containerd/go-cni"
|
||||||
@ -33,6 +34,10 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestSandboxContainerSpec(t *testing.T) {
|
func TestSandboxContainerSpec(t *testing.T) {
|
||||||
|
if goruntime.GOOS == "darwin" {
|
||||||
|
t.Skip("not implemented on Darwin")
|
||||||
|
}
|
||||||
|
|
||||||
testID := "test-id"
|
testID := "test-id"
|
||||||
nsPath := "test-cni"
|
nsPath := "test-cni"
|
||||||
for desc, test := range map[string]struct {
|
for desc, test := range map[string]struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user