mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Disable shell test for non-gce|gke providers
This commit is contained in:
parent
e2bf59f57c
commit
0df7309db2
@ -35,6 +35,14 @@ var (
|
|||||||
var _ = Describe("Shell", func() {
|
var _ = Describe("Shell", func() {
|
||||||
|
|
||||||
defer GinkgoRecover()
|
defer GinkgoRecover()
|
||||||
|
|
||||||
|
// A number of scripts only work on gce
|
||||||
|
if testContext.Provider != "gce" && testContext.Provider != "gke" {
|
||||||
|
By(fmt.Sprintf("Skipping Shell test, which is only supported for provider gce and gke (not %s)",
|
||||||
|
testContext.Provider))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// Slurp up all the tests in hack/e2e-suite
|
// Slurp up all the tests in hack/e2e-suite
|
||||||
bashE2ERoot := filepath.Join(root, "hack/e2e-suite")
|
bashE2ERoot := filepath.Join(root, "hack/e2e-suite")
|
||||||
files, err := ioutil.ReadDir(bashE2ERoot)
|
files, err := ioutil.ReadDir(bashE2ERoot)
|
||||||
|
Loading…
Reference in New Issue
Block a user