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,6 +20,7 @@ import (
"time"
"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"
@@ -33,7 +34,7 @@ var _ = instrumentation.SIGDescribe("Cluster level logging using Elasticsearch [
// TODO: For now assume we are only testing cluster logging with Elasticsearch
// on GCE. Once we are sure that Elasticsearch cluster level logging
// works for other providers we should widen this scope of this test.
framework.SkipUnlessProviderIs("gce")
e2eskipper.SkipUnlessProviderIs("gce")
})
ginkgo.It("should check that logs from containers are ingested into Elasticsearch", func() {