From 282a82d9115814cbaf53a9a7d34b27364b92ca49 Mon Sep 17 00:00:00 2001 From: Christoph Deppisch Date: Fri, 1 Jul 2022 09:54:45 +0200 Subject: [PATCH] fix(#3393): Fix e2e CronJob test (cherry picked from commit e232740bb9d906aff47066a118008ea3713e1290) --- e2e/common/cron_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/common/cron_test.go b/e2e/common/cron_test.go index 85b5ac211d..db5b641780 100644 --- a/e2e/common/cron_test.go +++ b/e2e/common/cron_test.go @@ -38,7 +38,7 @@ import ( ) func TestRunCronExample(t *testing.T) { - ok, err := kubernetes.IsAPIResourceInstalled(TestClient(), batchv1.SchemeGroupVersion.Group, reflect.TypeOf(batchv1.CronJob{}).Name()) + ok, err := kubernetes.IsAPIResourceInstalled(TestClient(), batchv1.SchemeGroupVersion.String(), reflect.TypeOf(batchv1.CronJob{}).Name()) assert.Nil(t, err) if !ok {