Skip GlusterDynamicProvisioner test in GKE

The GlusterDynamicProvisioner test will not work on GKE because master
node is in a different project and cannot talk to the pod running on
node which is used for gluster provisioner. So add the code to skip the
test on GKE
This commit is contained in:
Jing Xu 2019-03-20 12:07:50 -07:00
parent a4f2590bd8
commit 221c673f31

View File

@ -818,6 +818,7 @@ var _ = utils.SIGDescribe("Dynamic Provisioning", func() {
framework.KubeDescribe("GlusterDynamicProvisioner", func() {
It("should create and delete persistent volumes [fast]", func() {
framework.SkipIfProviderIs("gke")
By("creating a Gluster DP server Pod")
pod := startGlusterDpServerPod(c, ns)
serverUrl := "http://" + pod.Status.PodIP + ":8081"