From 54f81c3bb8abbc05dfabe6dd8d2d7a1017684e8d Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Tue, 23 Jul 2019 09:07:00 +0200 Subject: [PATCH] add ipv6 support to the hostport/HostIP e2e test --- test/e2e/scheduling/predicates.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/scheduling/predicates.go b/test/e2e/scheduling/predicates.go index 7414f22d205..96113ac7e9c 100644 --- a/test/e2e/scheduling/predicates.go +++ b/test/e2e/scheduling/predicates.go @@ -825,6 +825,7 @@ func CreateHostPortPods(f *framework.Framework, id string, replicas int, expectR // create pod which using hostport on the specified node according to the nodeSelector func createHostPortPodOnNode(f *framework.Framework, podName, ns, hostIP string, port int32, protocol v1.Protocol, nodeSelector map[string]string, expectScheduled bool) { + hostIP = framework.TranslateIPv4ToIPv6(hostIP) createPausePod(f, pausePodConfig{ Name: podName, Ports: []v1.ContainerPort{