Merge pull request #10261 from priyawadhwa/cni-on-containerd

Run CNI tests on containerd
pull/10145/head^2
priyawadhwa 2021-01-26 11:10:07 -08:00 committed by GitHub
commit 9a3bac712a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 10 deletions

View File

@ -34,7 +34,9 @@ import (
func TestNetworkPlugins(t *testing.T) {
MaybeParallel(t)
validations(t)
if NoneDriver() {
t.Skip("skipping since test for none driver")
}
t.Run("group", func(t *testing.T) {
tests := []struct {
@ -204,12 +206,3 @@ func TestNetworkPlugins(t *testing.T) {
}
})
}
func validations(t *testing.T) {
if NoneDriver() {
t.Skip("skipping since test for none driver")
}
if ContainerdContainerRuntime() {
t.Skip("skipping as this test currently times out on containerd")
}
}