You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by cm...@apache.org on 2012/09/09 13:00:21 UTC

svn commit: r1382446 - /camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/file/FileConcurrentWriteAppendSameFileTest.java

Author: cmueller
Date: Sun Sep  9 11:00:20 2012
New Revision: 1382446

URL: http://svn.apache.org/viewvc?rev=1382446&view=rev
Log:
fixed test which randomly fail on slow CI server

Modified:
    camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/file/FileConcurrentWriteAppendSameFileTest.java

Modified: camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/file/FileConcurrentWriteAppendSameFileTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/file/FileConcurrentWriteAppendSameFileTest.java?rev=1382446&r1=1382445&r2=1382446&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/file/FileConcurrentWriteAppendSameFileTest.java (original)
+++ camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/file/FileConcurrentWriteAppendSameFileTest.java Sun Sep  9 11:00:20 2012
@@ -26,12 +26,9 @@ import org.apache.camel.Exchange;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 
-/**
- * @version 
- */
 public class FileConcurrentWriteAppendSameFileTest extends ContextTestSupport {
 
-    private final int size = 1000;
+    private final int size = 500;
 
     @Override
     protected void setUp() throws Exception {
@@ -58,7 +55,7 @@ public class FileConcurrentWriteAppendSa
 
         assertMockEndpointsSatisfied();
 
-        // check the file has 10000 lines
+        // check the file has 5000 lines
         String txt = context.getTypeConverter().convertTo(String.class, new File("target/concurrent/outbox/result.txt"));
         assertNotNull(txt);