This is an automated email from the ASF dual-hosted git repository.
tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new e232740bb fix(#3393): Fix e2e CronJob test
e232740bb is described below
commit e232740bb9d906aff47066a118008ea3713e1290
Author: Christoph Deppisch <[email protected]>
AuthorDate: Fri Jul 1 09:54:45 2022 +0200
fix(#3393): Fix e2e CronJob test
---
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 {