File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -3799,18 +3799,10 @@ var _ = SIGDescribe("SCTP [Feature:SCTP] [LinuxOnly]", func() {
37993799 })
38003800
38013801 ginkgo .It ("should create a Pod with SCTP HostPort" , func () {
3802- ginkgo .By ("checking whether kubenet is used" )
38033802 node , err := e2enode .GetRandomReadySchedulableNode (cs )
38043803 framework .ExpectNoError (err )
38053804 hostExec := utils .NewHostExec (f )
38063805 defer hostExec .Cleanup ()
3807- cmd := "ps -C kubelet -o cmd= | grep kubenet"
3808- framework .Logf ("Executing cmd %q on node %v" , cmd , node .Name )
3809- err = hostExec .IssueCommand (cmd , node )
3810- if err != nil {
3811- e2eskipper .Skipf ("Interrogation of kubenet usage failed on node %s" , node .Name )
3812- }
3813- framework .Logf ("kubenet is in use" )
38143806
38153807 ginkgo .By ("getting the state of the sctp module on the selected node" )
38163808 nodes := & v1.NodeList {}
@@ -3829,7 +3821,7 @@ var _ = SIGDescribe("SCTP [Feature:SCTP] [LinuxOnly]", func() {
38293821 framework .ExpectNoError (err , "failed to delete pod: %s in namespace: %s" , podName , f .Namespace .Name )
38303822 }()
38313823 // wait until host port manager syncs rules
3832- cmd = "iptables-save"
3824+ cmd : = "iptables-save"
38333825 if framework .TestContext .ClusterIsIPv6 () {
38343826 cmd = "ip6tables-save"
38353827 }
You can’t perform that action at this time.
0 commit comments