This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push: new 212c352a5aa Fix failing tests (#819) 212c352a5aa is described below commit 212c352a5aac8468f423ee3002e04ada3cb22fe2 Author: Federico Mariani <34543311+cro...@users.noreply.github.com> AuthorDate: Fri Apr 21 07:01:19 2023 +0200 Fix failing tests (#819) * Fix infinispan failing test * Fix order * Add XML route parser --- components-starter/camel-infinispan-starter/pom.xml | 12 ++++++++++++ .../jira/springboot/test/NewIssuesConsumerTest.java | 2 +- components-starter/camel-mongodb-starter/pom.xml | 12 ++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/components-starter/camel-infinispan-starter/pom.xml b/components-starter/camel-infinispan-starter/pom.xml index cb05cdea244..11443b5a915 100644 --- a/components-starter/camel-infinispan-starter/pom.xml +++ b/components-starter/camel-infinispan-starter/pom.xml @@ -44,6 +44,18 @@ <version>${camel-version}</version> <scope>test</scope> </dependency> + <dependency> + <groupId>org.apache.camel.springboot</groupId> + <artifactId>camel-spring-boot-xml</artifactId> + <version>${camel-version}</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>org.apache.camel</groupId> + <artifactId>camel-spring-xml</artifactId> + </exclusion> + </exclusions> + </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> diff --git a/components-starter/camel-jira-starter/src/test/java/org/apache/camel/component/jira/springboot/test/NewIssuesConsumerTest.java b/components-starter/camel-jira-starter/src/test/java/org/apache/camel/component/jira/springboot/test/NewIssuesConsumerTest.java index 69acd3bac3b..5dd6cbd309c 100644 --- a/components-starter/camel-jira-starter/src/test/java/org/apache/camel/component/jira/springboot/test/NewIssuesConsumerTest.java +++ b/components-starter/camel-jira-starter/src/test/java/org/apache/camel/component/jira/springboot/test/NewIssuesConsumerTest.java @@ -175,7 +175,7 @@ public class NewIssuesConsumerTest { return Promises.promise(result); }); - mockResult.expectedBodiesReceived(issue3, issue2, issue1); + mockResult.expectedBodiesReceivedInAnyOrder(issue1, issue2, issue3); mockResult.assertIsSatisfied(); } diff --git a/components-starter/camel-mongodb-starter/pom.xml b/components-starter/camel-mongodb-starter/pom.xml index f05ca79c88a..4467237b3ff 100644 --- a/components-starter/camel-mongodb-starter/pom.xml +++ b/components-starter/camel-mongodb-starter/pom.xml @@ -54,6 +54,18 @@ <type>test-jar</type> <scope>test</scope> </dependency> + <dependency> + <groupId>org.apache.camel.springboot</groupId> + <artifactId>camel-spring-boot-xml</artifactId> + <version>${camel-version}</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>org.apache.camel</groupId> + <artifactId>camel-spring-xml</artifactId> + </exclusion> + </exclusions> + </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId>