From 558bdd18aa2254310ac1322dbe0dceff9a430d2a Mon Sep 17 00:00:00 2001 From: wangyysde Date: Tue, 25 May 2021 15:02:13 +0800 Subject: [PATCH] Update cronjob integration test to batch/v1 Signed-off-by: wangyysde --- test/cmd/template-output.sh | 2 +- test/e2e/apimachinery/garbage_collector.go | 20 +++++++------------ test/e2e/apimachinery/generated_clientset.go | 20 +++++++------------ test/e2e/apps/cronjob.go | 5 ----- test/e2e/apps/types.go | 4 ---- test/e2e/kubectl/kubectl.go | 2 +- .../kubectl/busybox-cronjob.yaml.in | 2 +- test/integration/cronjob/cronjob_test.go | 17 ++++++++-------- 8 files changed, 25 insertions(+), 47 deletions(-) diff --git a/test/cmd/template-output.sh b/test/cmd/template-output.sh index 3155077b947..c236530980e 100755 --- a/test/cmd/template-output.sh +++ b/test/cmd/template-output.sh @@ -99,7 +99,7 @@ run_template_output_tests() { # check that "create job" command supports --template output kubectl create "${kube_flags[@]:?}" -f - <