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

gfournier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 4e06d15c9cc9060687076fd1e81e8127fac756cb
Author: Gaelle Fournier <[email protected]>
AuthorDate: Thu Jun 6 09:46:56 2024 +0200

    fix(e2e): Add timeout to allow 5 attempts at build
---
 e2e/advanced/maven_http_proxy_test.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/e2e/advanced/maven_http_proxy_test.go 
b/e2e/advanced/maven_http_proxy_test.go
index f3b5b19b9..551934a93 100644
--- a/e2e/advanced/maven_http_proxy_test.go
+++ b/e2e/advanced/maven_http_proxy_test.go
@@ -238,7 +238,7 @@ func TestMavenProxyNotPresent(t *testing.T) {
        t.Parallel()
 
        WithNewTestNamespace(t, func(ctx context.Context, g *WithT, ns string) {
-               hostname := fmt.Sprintf("%s.%s.svc", "proxy", ns)
+               hostname := fmt.Sprintf("%s.%s.svc", "proxy-fake", ns)
 
                svc := Service(t, ctx, TestDefaultNamespace, "kubernetes")()
                g.Expect(svc).NotTo(BeNil())
@@ -270,8 +270,8 @@ func TestMavenProxyNotPresent(t *testing.T) {
                g.Expect(KamelRunWithID(t, ctx, operatorID, ns, 
"files/Java.java", "--name", name).Execute()).To(Succeed())
 
                // Should not be able to build
-               g.Eventually(IntegrationPhase(t, ctx, ns, 
name)).Should(Equal(v1.IntegrationPhaseError))
-               g.Eventually(IntegrationConditionStatus(t, ctx, ns, name, 
v1.IntegrationConditionKitAvailable)).
+               g.Eventually(IntegrationPhase(t, ctx, ns, name), 
TestTimeoutMedium).Should(Equal(v1.IntegrationPhaseError))
+               g.Eventually(IntegrationConditionStatus(t, ctx, ns, name, 
v1.IntegrationConditionKitAvailable), TestTimeoutShort).
                        Should(Equal(corev1.ConditionFalse))
 
                // Clean up

Reply via email to