This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 02a3006c26ea CAMEL-23187: Fix RunCommandITCase.runWithProperties
timeout (#22085)
02a3006c26ea is described below
commit 02a3006c26eac5021d00e479d591b1079a4682a2
Author: Guillaume Nodet <[email protected]>
AuthorDate: Wed Mar 18 16:49:19 2026 +0100
CAMEL-23187: Fix RunCommandITCase.runWithProperties timeout (#22085)
The test used a hardcoded 5-second timeout for checkLogContains,
while all other tests in the class use the default (60 seconds).
5 seconds is too short for JBang CLI startup + property loading
in CI environments. Remove the explicit timeout to use the default.
Co-authored-by: Claude Opus 4.6 <[email protected]>
---
.../src/test/java/org/apache/camel/dsl/jbang/it/RunCommandITCase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dsl/camel-jbang/camel-jbang-it/src/test/java/org/apache/camel/dsl/jbang/it/RunCommandITCase.java
b/dsl/camel-jbang/camel-jbang-it/src/test/java/org/apache/camel/dsl/jbang/it/RunCommandITCase.java
index c202246a8ebc..07a26e18aa5c 100644
---
a/dsl/camel-jbang/camel-jbang-it/src/test/java/org/apache/camel/dsl/jbang/it/RunCommandITCase.java
+++
b/dsl/camel-jbang/camel-jbang-it/src/test/java/org/apache/camel/dsl/jbang/it/RunCommandITCase.java
@@ -77,7 +77,7 @@ public class RunCommandITCase extends JBangTestSupport {
executeBackground(String.format(
"run %s/route-props.yaml --property=a=a --property=b=b
--properties=%s/route-props.properties",
mountPoint(), mountPoint()));
- checkLogContains("Hello Camel with properties a=a b=b my-key=my-val",
5);
+ checkLogContains("Hello Camel with properties a=a b=b my-key=my-val");
}
@Test