You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/08/27 14:40:58 UTC
[jira] [Resolved] (CAMEL-7756)
org.apache.camel.issues.OnCompletionIssueTest fails because of order
dependency
[ https://issues.apache.org/jira/browse/CAMEL-7756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-7756.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.14.0
Assignee: Claus Ibsen
Thanks
> org.apache.camel.issues.OnCompletionIssueTest fails because of order dependency
> -------------------------------------------------------------------------------
>
> Key: CAMEL-7756
> URL: https://issues.apache.org/jira/browse/CAMEL-7756
> Project: Camel
> Issue Type: Test
> Reporter: Kevin Earls
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.14.0
>
>
> This test fails intermittently with the error below as it is using MockEndpoint.expectedBodiesReceived() even though it uses parallelProcessing() in the route. The test should use MockEndpoint.expectedBodiesReceivedInAnyOrder() instead
> java.lang.AssertionError: mock://complete Body of message: 0. Expected: <finish> but was: <stop>
> at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:1333)
> at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:1315)
> at org.apache.camel.component.mock.MockEndpoint$5.run(MockEndpoint.java:628)
> at org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:394)
> at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:362)
> at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:350)
> at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:188)
> at org.apache.camel.ContextTestSupport.assertMockEndpointsSatisfied(ContextTestSupport.java:343)
> at org.apache.camel.issues.OnCompletionIssueTest.testOnCompletionIssue(OnCompletionIssueTest.java:39)
--
This message was sent by Atlassian JIRA
(v6.2#6252)