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 44d334b45 chore(e2e): increase timeouts
44d334b45 is described below
commit 44d334b452b9026b340a62ab76d6c49d8d3eef76
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Wed Aug 12 08:44:01 2026 +0200
chore(e2e): increase timeouts
---
e2e/common/traits/affinity_test.go | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/e2e/common/traits/affinity_test.go
b/e2e/common/traits/affinity_test.go
index f4dcafdc3..40af17479 100644
--- a/e2e/common/traits/affinity_test.go
+++ b/e2e/common/traits/affinity_test.go
@@ -55,11 +55,11 @@ func TestAffinityTrait(t *testing.T) {
g.Expect(KamelRun(t, ctx, ns, "files/Java.java",
"--name", name1,
"-t", "affinity.enabled=true",
"-t",
fmt.Sprintf("affinity.node-affinity-labels=kubernetes.io/hostname in(%s)",
hostname)).Execute()).To(Succeed())
- g.Eventually(IntegrationPodPhase(t, ctx, ns,
name1)).Should(Equal(corev1.PodRunning))
g.Eventually(
- IntegrationConditionStatus(t, ctx, ns, name1,
v1.IntegrationConditionReady), TestTimeoutShort).Should(
+ IntegrationConditionStatus(t, ctx, ns, "java2",
v1.IntegrationConditionReady), TestTimeoutMedium).Should(
Equal(corev1.ConditionTrue),
- )
+ )
+ g.Eventually(IntegrationPodPhase(t, ctx, ns,
name1)).Should(Equal(corev1.PodRunning))
g.Eventually(IntegrationLogs(t, ctx, ns, name1),
TestTimeoutShort).Should(ContainSubstring("Magicstring!"))
pod := IntegrationPod(t, ctx, ns, name1)()
@@ -74,11 +74,11 @@ func TestAffinityTrait(t *testing.T) {
g.Expect(KamelRun(t, ctx, ns, "files/Java.java",
"--name", "java2",
"-t", "affinity.enabled=true",
"-t",
"affinity.pod-affinity-labels=camel.apache.org/integration").Execute()).To(Succeed())
- g.Eventually(IntegrationPodPhase(t, ctx, ns,
"java2")).Should(Equal(corev1.PodRunning))
g.Eventually(
- IntegrationConditionStatus(t, ctx, ns, "java2",
v1.IntegrationConditionReady), TestTimeoutShort).Should(
+ IntegrationConditionStatus(t, ctx, ns, "java2",
v1.IntegrationConditionReady), TestTimeoutMedium).Should(
Equal(corev1.ConditionTrue),
- )
+ )
+ g.Eventually(IntegrationPodPhase(t, ctx, ns,
"java2")).Should(Equal(corev1.PodRunning))
g.Eventually(IntegrationLogs(t, ctx, ns, "java2"),
TestTimeoutShort).Should(ContainSubstring("Magicstring!"))
pod := IntegrationPod(t, ctx, ns, "java2")()
@@ -99,7 +99,7 @@ func TestAffinityTrait(t *testing.T) {
IntegrationConditionStatus(t, ctx, ns, "java3",
v1.IntegrationConditionReady), TestTimeoutShort).Should(
Equal(corev1.ConditionFalse),
)
- g.Eventually(IntegrationCondition(t, ctx, ns, "java3",
v1.IntegrationConditionReady)().Message).
+ g.Eventually(IntegrationCondition(t, ctx, ns, "java3",
v1.IntegrationConditionReady)().Message, TestTimeoutMedium).
Should(ContainSubstring("didn't match pod
anti-affinity rules"))
pod := IntegrationPod(t, ctx, ns, "java3")()