Author: davsclaus Date: Mon Jan 26 14:15:27 2009 New Revision: 737699 URL: http://svn.apache.org/viewvc?rev=737699&view=rev Log: Fixed failing unit test reported by teamcity
Modified: camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentTest.java Modified: camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentTest.java URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentTest.java?rev=737699&r1=737698&r2=737699&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentTest.java (original) +++ camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentTest.java Mon Jan 26 14:15:27 2009 @@ -69,11 +69,7 @@ // should NOT consume the file again, let 2 secs pass to let the consumer try to consume it but it should not assertMockEndpointsSatisfied(); - if (System.getProperty("os.name").startsWith("Windows")) { - assertTrue(repo.contains("target\\fileidempotent\\report.txt")); - } else { - assertTrue(repo.contains("target/fileidempotent/report.txt")); - } + assertTrue(repo.contains("report.txt")); } }