camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2517) AggregateGroupedExchangeMultipleCorrelationTest fails
Date Wed, 03 Mar 2010 21:09:44 GMT

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

Christian Schneider commented on CAMEL-2517:
--------------------------------------------

Hi  Claus,

I have tested only on one machine. I can try on my linux machine but I donĀ“t have another
windows machine.  Below you find the trace of the failure with 100ms. I will attach the trace
logs for 1000ms and for 100ms.

Greetings

Christian


junit.framework.ComparisonFailure: expected:<1[3]0> but was:<1[0]0>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.apache.camel.processor.aggregator.AggregateGroupedExchangeMultipleCorrelationTest.testGrouped(AggregateGroupedExchangeMultipleCorrelationTest.java:57)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)



> AggregateGroupedExchangeMultipleCorrelationTest fails
> -----------------------------------------------------
>
>                 Key: CAMEL-2517
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2517
>             Project: Apache Camel
>          Issue Type: Test
>          Components: camel-core
>    Affects Versions: 2.2.0
>         Environment: Windows Vista
>            Reporter: Christian Schneider
>             Fix For: 2.3.0
>
>         Attachments: camel-core-2010-01-02.patch, failure_100ms.txt, success_1000ms.txt
>
>
> On my system the test AggregateGroupedExchangeMultipleCorrelationTest fails. It seems
the Thread.sleep(100) is too short.
> When I increase to at least 900ms it works. To add some safety I propose to increase
to 1000ms.

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