We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 425f129 commit 2576422Copy full SHA for 2576422
test/integration/net_test.go
@@ -82,13 +82,13 @@ func TestNetworkPlugins(t *testing.T) {
82
// collect debug logs
83
defer debugLogs(t, profile)
84
85
- if usingCNI() && tc.name == "false" {
+ if ContainerRuntime() != "docker" && tc.name == "false" {
86
// CNI is required for current container runtime
87
validateFalseCNI(ctx, t, profile)
88
return
89
}
90
91
- if usingCNI() && tc.name == "kubenet" {
+ if ContainerRuntime() != "docker" && tc.name == "kubenet" {
92
// CNI is disabled when --network-plugin=kubenet option is passed. See cni.New(..) function
93
t.Skipf("Skipping the test as %s container runtimes requires CNI", ContainerRuntime())
94
0 commit comments