Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 66726 invoked from network); 1 Dec 2008 14:45:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 14:45:02 -0000 Received: (qmail 66767 invoked by uid 500); 1 Dec 2008 14:45:08 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 66751 invoked by uid 500); 1 Dec 2008 14:45:08 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 66707 invoked by uid 99); 1 Dec 2008 14:45:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 06:45:08 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 14:43:48 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9A8BB234C2A0 for ; Mon, 1 Dec 2008 06:44:05 -0800 (PST) Message-ID: <454918554.1228142645631.JavaMail.jira@brutus> Date: Mon, 1 Dec 2008 06:44:05 -0800 (PST) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-1135) TestEndpointTest Unit test failed which may be caused by recent change of File Component In-Reply-To: <447430692.1228142286386.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.