Enable batch/v2alpha1 globally for e2e tests

This commit is contained in:
Maciej Szulik 2016-08-14 14:24:49 +02:00
parent 578730e26e
commit fdf87d6015

View File

@ -265,6 +265,8 @@ func TearDown() bool {
// Up brings an e2e cluster up, recreating it if one is already running. // Up brings an e2e cluster up, recreating it if one is already running.
func Up() bool { 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")) return finishRunning("up", exec.Command("./hack/e2e-internal/e2e-up.sh"))
} }