Merge pull request #81069 from aojea/GlusterDynamicProvisioner

Add IPv6 support to e2e GlusterDynamicProvisioner
This commit is contained in:
Kubernetes Prow Robot 2019-08-13 02:28:20 -07:00 committed by GitHub
commit 193c30fd01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ package storage
import (
"fmt"
"net"
"strings"
"time"
@ -872,7 +873,7 @@ var _ = utils.SIGDescribe("Dynamic Provisioning", func() {
framework.SkipIfProviderIs("gke")
ginkgo.By("creating a Gluster DP server Pod")
pod := startGlusterDpServerPod(c, ns)
serverURL := "http://" + pod.Status.PodIP + ":8081"
serverURL := "http://" + net.JoinHostPort(pod.Status.PodIP, "8081")
ginkgo.By("creating a StorageClass")
test := testsuites.StorageClassTest{
Client: c,