[ https://issues.apache.org/activemq/browse/CAMEL-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CAMEL-1135 started by Claus Ibsen. > TestEndpointTest Unit test failed which may be caused by recent change of > File Component > ----------------------------------------------------------------------------------------- > > Key: CAMEL-1135 > URL: https://issues.apache.org/activemq/browse/CAMEL-1135 > Project: Apache Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.0.0 > Reporter: Willem Jiang > Assignee: Claus Ibsen > Fix For: 2.0.0 > > > Here are the stack trace of the TestEndpointTest.testMocksAreValid on > different machines > org.apache.camel.component.test.TestEndpointTest.testMocksAreValid > ================= > java.lang.AssertionError: > test:file://src/test/data?noop=true&consumer.recursive=true&consumer.delay=2000 > Received message count. Expected: <567> but was: <78> > at > org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:712) > at > org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:694) > at > org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:238) > at > org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:214) > at > org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:141) > at > org.apache.camel.component.test.TestEndpointTest.testMocksAreValid(TestEndpointTest.java:49) > org.apache.camel.component.test.TestEndpointTest.testMocksAreValid > ================= > java.lang.AssertionError: > test:file://src/test/data?noop=true&consumer.recursive=true&consumer.delay=2000 > Received message count. Expected: <219> but was: <78> > at > org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:712) > at > org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:694) > at > org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:238) > at > org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:214) > at > org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:141) > at > org.apache.camel.component.test.TestEndpointTest.testMocksAreValid(TestEndpointTest.java:49) > I don't know why the test endpoint could get so many received message. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.