Commit fdf87d60 authored by Maciej Szulik's avatar Maciej Szulik

Enable batch/v2alpha1 globally for e2e tests

parent 578730e2
...@@ -265,6 +265,8 @@ func TearDown() bool { ...@@ -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"))
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment