remove weird pause args from this networking.go, that break the periodic sig-network tests

This commit is contained in:
jay vyas 2021-01-17 13:42:41 -05:00
parent 97cf67b329
commit 4d757f1c52

View File

@ -52,6 +52,7 @@ func checkConnectivityToHost(f *framework.Framework, nodeName, podName, host str
pod := e2epod.NewAgnhostPod(f.Namespace.Name, podName, nil, nil, nil)
pod.Spec.Containers[0].Command = command
pod.Spec.Containers[0].Args = nil // otherwise 'pause` is magically an argument to nc, which causes all hell to break loose
pod.Spec.NodeName = nodeName
pod.Spec.RestartPolicy = v1.RestartPolicyNever