mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
Enable batch/v2alpha1 globally for e2e tests
This commit is contained in:
parent
578730e26e
commit
fdf87d6015
@ -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"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user