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 2026/10/14 13:25:07 UTC

(camel-k) branch main updated: fix(ci): align nightly multi-arch timeouts and widen log test timeout

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 0594035a2 fix(ci): align nightly multi-arch timeouts and widen log test timeout
0594035a2 is described below

commit 0594035a2dbff08a3d8d62ac9627cdf555fba9cc
Author: Anshul Jagota <an...@yahoo.com>
AuthorDate: Wed Oct 14 12:35:17 2026 +0530

    fix(ci): align nightly multi-arch timeouts and widen log test timeout
---
 .github/workflows/nightly-multi.yml |  4 ++++
 e2e/common/cli/log_test.go          | 10 +++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/nightly-multi.yml b/.github/workflows/nightly-multi.yml
index ed7c0b5ce..405bd75af 100644
--- a/.github/workflows/nightly-multi.yml
+++ b/.github/workflows/nightly-multi.yml
@@ -21,6 +21,10 @@ name: Nightly check against ARM64 architecture and JDK21
 
 env:
   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+  CAMEL_K_TEST_TIMEOUT_SHORT: 2m
+  CAMEL_K_TEST_TIMEOUT_MEDIUM: 5m
+  CAMEL_K_TEST_TIMEOUT_LONG: 10m
+  CAMEL_K_TEST_TIMEOUT_VERY_LONG: 30m
 
 on:
   schedule:
diff --git a/e2e/common/cli/log_test.go b/e2e/common/cli/log_test.go
index 2fc88de79..0a4d3ed9b 100644
--- a/e2e/common/cli/log_test.go
+++ b/e2e/common/cli/log_test.go
@@ -42,17 +42,17 @@ func TestKamelCLILog(t *testing.T) {
 			// first line of the integration logs
 			firstLine := strings.Split(IntegrationLogs(t, ctx, ns, "log-yaml")(), "\n")[0]
 			podName := IntegrationPod(t, ctx, ns, "log-yaml")().Name
-
 			logsCLI := GetOutputStringAsync(Kamel(t, ctx, "log", "log-yaml", "-n", ns))
-			g.Eventually(logsCLI).Should(ContainSubstring("Monitoring pod " + podName))
-			g.Eventually(logsCLI).Should(ContainSubstring(firstLine))
+			g.Eventually(logsCLI, TestTimeoutMedium).Should(ContainSubstring("Monitoring pod " + podName))
+			g.Eventually(logsCLI, TestTimeoutMedium).Should(ContainSubstring(firstLine))
 
 			logs := strings.Split(IntegrationLogs(t, ctx, ns, "log-yaml")(), "\n")
 			lastLine := logs[len(logs)-1]
 
 			logsCLI = GetOutputStringAsync(Kamel(t, ctx, "log", "log-yaml", "-n", ns, "--tail", "5"))
-			g.Eventually(logsCLI).Should(ContainSubstring("Monitoring pod " + podName))
-			g.Eventually(logsCLI).Should(ContainSubstring(lastLine))
+			g.Eventually(logsCLI, TestTimeoutMedium).Should(ContainSubstring("Monitoring pod " + podName))
+			g.Eventually(logsCLI, TestTimeoutMedium).Should(ContainSubstring(lastLine))
+
 		})
 	})
 }