camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Earls (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7694) RestletGroovyIssueTest fails intermittently
Date Wed, 13 Aug 2014 15:36:12 GMT
Kevin Earls created CAMEL-7694:
----------------------------------

             Summary: 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)

Mime
View raw message