Skip network test with kindnet if container runtime is not docker
parent
46f17ea0fe
commit
14a94d214f
|
@ -69,6 +69,10 @@ func TestNetworkPlugins(t *testing.T) {
|
|||
t.Skipf("flannel is not yet compatible with Docker driver: iptables v1.8.3 (legacy): Couldn't load target `CNI-x': No such file or directory")
|
||||
}
|
||||
|
||||
if !DockerDriver() && tc.name == "kindnet" {
|
||||
t.Skipf("Skipping the test as %s container runtimes requires CNI", ContainerRuntime())
|
||||
}
|
||||
|
||||
start := time.Now()
|
||||
MaybeParallel(t)
|
||||
profile := UniqueProfileName(tc.name)
|
||||
|
|
Loading…
Reference in New Issue