This is an automated email from the ASF dual-hosted git repository.
squakez 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 148a0f193 chore(e2e): consistently check the cron is not created
148a0f193 is described below
commit 148a0f193d37f4ad65b836cd1801b2468af7e5be
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Fri Aug 14 09:25:11 2026 +0200
chore(e2e): consistently check the cron is not created
---
e2e/common/traits/cron_test.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/e2e/common/traits/cron_test.go b/e2e/common/traits/cron_test.go
index a81d36b10..63d82dd76 100644
--- a/e2e/common/traits/cron_test.go
+++ b/e2e/common/traits/cron_test.go
@@ -37,14 +37,14 @@ import (
func TestRunCronExample(t *testing.T) {
t.Parallel()
WithNewTestNamespace(t, func(ctx context.Context, g *WithT, ns string) {
-
+
t.Run("cron-fallback", func(t *testing.T) {
g.Expect(KamelRun(t, ctx, ns,
"files/cron-fallback.yaml").Execute()).To(Succeed())
- g.Eventually(IntegrationCronJob(t, ctx, ns,
"cron-fallback"), TestTimeoutLong).Should(BeNil())
- g.Eventually(IntegrationConditionStatus(t, ctx, ns,
"cron-fallback", v1.IntegrationConditionReady), TestTimeoutShort).Should(
+ g.Eventually(IntegrationConditionStatus(t, ctx, ns,
"cron-fallback", v1.IntegrationConditionReady), TestTimeoutMedium).Should(
Equal(corev1.ConditionTrue))
g.Eventually(IntegrationConditionStatus(t, ctx, ns,
"cron-fallback", v1.IntegrationConditionCronJobAvailable),
TestTimeoutMedium).Should(Equal(corev1.ConditionFalse))
+ Consistently(IntegrationCronJob(t, ctx, ns,
"cron-fallback"), TestTimeoutShort).Should(BeNil())
g.Eventually(IntegrationPodPhase(t, ctx, ns,
"cron-fallback")).Should(Equal(corev1.PodRunning))
g.Eventually(IntegrationLogs(t, ctx, ns,
"cron-fallback"), TestTimeoutShort).Should(ContainSubstring("Magicstring!"))
g.Eventually(DeleteIntegrations(t, ctx,
ns)).Should(Equal(0))