Add IPv6 support to e2e GlusterDynamicProvisioner

This commit is contained in:
Antonio Ojea 2019-08-07 09:47:36 +02:00
parent cc46849212
commit 10ef878e08
No known key found for this signature in database
GPG Key ID: E4833AA228D4E824

View File

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