From 0df7309db29efe2206c597002db46b94a67d34a2 Mon Sep 17 00:00:00 2001 From: "Timothy St. Clair" Date: Tue, 14 Apr 2015 14:00:48 -0500 Subject: [PATCH] Disable shell test for non-gce|gke providers --- test/e2e/shell.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/e2e/shell.go b/test/e2e/shell.go index 4cdb44784cd..4298618c088 100644 --- a/test/e2e/shell.go +++ b/test/e2e/shell.go @@ -35,6 +35,14 @@ var ( var _ = Describe("Shell", func() { 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 bashE2ERoot := filepath.Join(root, "hack/e2e-suite") files, err := ioutil.ReadDir(bashE2ERoot)