Merge pull request #6817 from timothysc/kube-e2e-shell

Disable shell test for non-gce providers
This commit is contained in:
Robert Bailey 2015-04-15 09:21:46 -07:00
commit ad59fb5ec4

View File

@ -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)