Enable batch/v2alpha1 globally for e2e tests

This commit is contained in:
Maciej Szulik
2016-08-10 17:36:40 +02:00
parent be928af9b3
commit 08fa3e8e3f

View File

@@ -262,6 +262,8 @@ func TearDown() bool {
// Up brings an e2e cluster up, recreating it if one is already running.
func Up() bool {
// force having batch/v2alpha1 always on for e2e tests
os.Setenv("KUBE_RUNTIME_CONFIG", "batch/v2alpha1=true")
return finishRunning("up", exec.Command("./hack/e2e-internal/e2e-up.sh"))
}