e2e/instrumentation:Use e2eskipper package

This commit is contained in:
tanjunchen
2020-01-14 09:32:39 +08:00
parent ace98e1382
commit 07c36de3e2
12 changed files with 39 additions and 27 deletions

View File

@@ -23,14 +23,14 @@ import (
"os"
"time"
"golang.org/x/oauth2/google"
"github.com/onsi/ginkgo"
"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/kubernetes/test/e2e/framework"
e2eautoscaling "k8s.io/kubernetes/test/e2e/framework/autoscaling"
e2eskipper "k8s.io/kubernetes/test/e2e/framework/skipper"
instrumentation "k8s.io/kubernetes/test/e2e/instrumentation/common"
"github.com/onsi/ginkgo"
"golang.org/x/oauth2/google"
gcm "google.golang.org/api/monitoring/v3"
)
@@ -60,7 +60,7 @@ var (
var _ = instrumentation.SIGDescribe("Stackdriver Monitoring", func() {
ginkgo.BeforeEach(func() {
framework.SkipUnlessProviderIs("gce", "gke")
e2eskipper.SkipUnlessProviderIs("gce", "gke")
})
f := framework.NewDefaultFramework("stackdriver-monitoring")