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/17 09:53:18 UTC

[jira] [Updated] (CAMEL-7694) RestletGroovyIssueTest fails intermittently

     [ https://issues.apache.org/jira/browse/CAMEL-7694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-7694:
-------------------------------

    Fix Version/s: 2.14.0

> 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
>             Fix For: 2.14.0
>
>
> 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)