[
https://issues.apache.org/activemq/browse/CAMEL-1924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53747#action_53747
]
Willem Jiang commented on CAMEL-1924:
-------------------------------------
@Christian
For the CachedOutputStreamTest.testCacheStreamToFileAndNotCloseStream, as you
said, windows can't delete the file which is open, so I close the cached
inputstream before calling the exchange done method.
I just tried run the
org.apache.camel.processor.ChoiceWithEndTest.testRouteIsCorrectAtRuntime with
JDK 1.5.0_13 on Windows Vista box, the test is OK.
So I added a method to search the route by looking up the endpoint's uri,
please feel free to give it a try :)
> 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
> Assignee: Willem Jiang
> 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.