[ 
https://issues.apache.org/jira/browse/CAMEL-7756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14112132#comment-14112132
 ] 

ASF GitHub Bot commented on CAMEL-7756:
---------------------------------------

GitHub user kevinearls opened a pull request:

    https://github.com/apache/camel/pull/255

    Fix for CAMEL-7756 OnCompletionIssueTest fails because of order dependen...

    ...cy

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kevinearls/camel CAMEL-7756

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/255.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #255
    
----
commit 2d7a2194c80fe7ffcd094b5cc343fd21104270d1
Author: Kevin Earls <[email protected]>
Date:   2014-08-27T10:58:38Z

    Fix for CAMEL-7756 OnCompletionIssueTest fails because of order dependency

----


> 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
>            Priority: Minor
>
> 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)

Reply via email to