You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/03/05 15:39:42 UTC
[camel-examples] branch master updated: Fixed test
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-examples.git
The following commit(s) were added to refs/heads/master by this push:
new 422f533 Fixed test
422f533 is described below
commit 422f533898ea660c158517c03b9d16b578d70090
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Mar 5 16:39:28 2021 +0100
Fixed test
---
.../src/test/java/org/apache/camel/example/spring/IntegrationTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java b/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java
index 234e155..f3e47cc 100644
--- a/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java
+++ b/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java
@@ -25,6 +25,7 @@ public class IntegrationTest extends Assert {
@Test
public void testCamelRulesDeployCorrectlyInSpring() throws Exception {
// let's boot up the Spring application context for 2 seconds to check that it works OK
- Main.main("-duration", "2s", "-o", "target/site/cameldoc");
+ Main main = new Main();
+ main.run(new String[]{"-duration", "2s", "-o", "target/site/cameldoc"});
}
}