camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-1135) TestEndpointTest Unit test failed which may be caused by recent change of File Component
Date Mon, 01 Dec 2008 14:44:05 GMT

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

Claus Ibsen commented on CAMEL-1135:
------------------------------------

It's my bad. I will fix it soon. Running full unit test now, so 10 min.

It's in camel-spring that I dont test as often as camel-core

> 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.


Mime
View raw message