e2e: Only do LB health check reconciliation test on GCE

The test requires restarting kube-controller-manager, we don't support
that on GKE.

Fix #70280
This commit is contained in:
Justin SB 2018-10-26 07:19:43 -04:00
parent 022c05c141
commit 4f3aafd6f5
No known key found for this signature in database
GPG Key ID: 8DEC5C8217494E37

View File

@ -1552,8 +1552,9 @@ var _ = SIGDescribe("Services", func() {
// to be something else, see if the interval will be reconciled.
It("should reconcile LB health check interval [Slow][Serial]", func() {
const gceHcCheckIntervalSeconds = int64(8)
// This test is for clusters on GCE/GKE.
framework.SkipUnlessProviderIs("gce", "gke")
// This test is for clusters on GCE.
// (It restarts kube-controller-manager, which we don't support on GKE)
framework.SkipUnlessProviderIs("gce")
clusterID, err := gce.GetClusterID(cs)
if err != nil {
framework.Failf("framework.GetClusterID(cs) = _, %v; want nil", err)