[
https://issues.apache.org/jira/browse/CAMEL-7694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096456#comment-14096456
]
ASF GitHub Bot commented on CAMEL-7694:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/camel/pull/236
> RestletGroovyIssueTest fails intermittently
> -------------------------------------------
>
> Key: CAMEL-7694
> URL: https://issues.apache.org/jira/browse/CAMEL-7694
> Project: Camel
> Issue Type: Bug
> Components: tests
> Reporter: Kevin Earls
> Priority: Minor
>
> The RestletGroovyIssueTest.testRestletGroovy() fails intermittently with the
> error shown below. It looks like it's just a race condition where sometimes
> assertMockEndpoinsSatisfied fires before everything else finishes.
> I'll submit a pull request with a fix.
> Error Message
> mock://input Received message count. Expected: <10> but was: <9>
> Stacktrace
> java.lang.AssertionError: mock://input Received message count. Expected: <10>
> but was: <9>
> 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.doAssertIsSatisfied(MockEndpoint.java:383)
> 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.test.junit4.CamelTestSupport.assertMockEndpointsSatisfied(CamelTestSupport.java:675)
> at
> org.apache.camel.itest.restlet.example.RestletGroovyIssueTest.testRestletGroovy(RestletGroovyIssueTest.java:52)
--
This message was sent by Atlassian JIRA
(v6.2#6252)