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

@@ -20,14 +20,15 @@ import (
"fmt"
"time"
"k8s.io/apimachinery/pkg/util/json"
"k8s.io/apimachinery/pkg/util/uuid"
"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/kubernetes/test/e2e/framework"
e2eskipper "k8s.io/kubernetes/test/e2e/framework/skipper"
instrumentation "k8s.io/kubernetes/test/e2e/instrumentation/common"
"k8s.io/kubernetes/test/e2e/instrumentation/logging/utils"
"github.com/onsi/ginkgo"
"k8s.io/apimachinery/pkg/util/json"
"k8s.io/apimachinery/pkg/util/uuid"
)
const (
@@ -39,7 +40,7 @@ var _ = instrumentation.SIGDescribe("Cluster level logging implemented by Stackd
f := framework.NewDefaultFramework("sd-logging")
ginkgo.BeforeEach(func() {
framework.SkipUnlessProviderIs("gce", "gke")
e2eskipper.SkipUnlessProviderIs("gce", "gke")
})
ginkgo.It("should ingest logs [Feature:StackdriverLogging]", func() {