[
https://issues.apache.org/activemq/browse/CAMEL-1924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53687#action_53687
]
Christian Schneider commented on CAMEL-1924:
--------------------------------------------
I have just debugged the last failure:
org.apache.camel.processor.ChoiceWithEndTest.testRouteIsCorrectAtRuntime
It checks for 4 nodes but only gets one.
The reason is that it checks the wrong route. When I change the line
Navigate<Processor> nav = context.getRoutes().get(0).navigate();
to
Navigate<Processor> nav = context.getRoutes().get(1).navigate();
then it works. So it seems the sequence of the routes is not the same for all
systems. Perhaps it would be better to use another way of getting the route
from the camel context.
> Unit test failures on Windows in 2.0.0 release
> ----------------------------------------------
>
> Key: CAMEL-1924
> URL: https://issues.apache.org/activemq/browse/CAMEL-1924
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.0.0
> Environment: Windows Vista 32 Bit, JDK 1.6.0_14 and maven 2.2.0
> Reporter: Christian Schneider
> Fix For: 2.1.0
>
>
> 3 failures in camel-core that do not seem to occur on linux and mac.
> Failure Details
> testCannotDeleteFile
> junit.framework.AssertionFailedError: Should have thrown an exception
>
> org.apache.camel.component.file.strategy.GenericFileDeleteProcessStrategyTest:125
> testCacheStreamToFileAndNotCloseStream
> junit.framework.AssertionFailedError: we should have no temp file
> expected:<1> but was:<0>
>
> org.apache.camel.converter.stream.CachedOutputStreamTest:117
> testRouteIsCorrectAtRuntime
> junit.framework.AssertionFailedError: expected:<4> but was:<1>
>
> org.apache.camel.processor.ChoiceWithEndTest:39
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.