You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2022/11/03 16:26:22 UTC

[camel-k] 03/03: fix(#3393): Fix e2e CronJob test

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch release-1.8.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 282a82d9115814cbaf53a9a7d34b27364b92ca49
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Fri Jul 1 09:54:45 2022 +0200

    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 85b5ac211..db5b64178 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 {