Merge pull request #97371 from aojea/sctpfix

fix sctp hostPort test
This commit is contained in:
Kubernetes Prow Robot 2020-12-17 10:31:08 -08:00 committed by GitHub
commit 4351e4dd47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3842,6 +3842,7 @@ var _ = SIGDescribe("SCTP [Feature:SCTP] [LinuxOnly]", func() {
podName := "hostport"
ports := []v1.ContainerPort{{Protocol: v1.ProtocolSCTP, ContainerPort: 5060, HostPort: 5060}}
podSpec := e2epod.NewAgnhostPod(f.Namespace.Name, podName, nil, nil, ports)
podSpec.Spec.NodeName = node.Name
ginkgo.By(fmt.Sprintf("Launching the pod on node %v", node.Name))
f.PodClient().CreateSync(podSpec)