camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1392869 - /camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeNoopIdempotentDisabledTest.java
Date Tue, 02 Oct 2012 11:59:27 GMT
Author: davsclaus
Date: Tue Oct  2 11:59:27 2012
New Revision: 1392869

URL: http://svn.apache.org/viewvc?rev=1392869&view=rev
Log:
Fixed test

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeNoopIdempotentDisabledTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeNoopIdempotentDisabledTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeNoopIdempotentDisabledTest.java?rev=1392869&r1=1392868&r2=1392869&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeNoopIdempotentDisabledTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeNoopIdempotentDisabledTest.java
Tue Oct  2 11:59:27 2012
@@ -36,7 +36,7 @@ public class FileConsumeNoopIdempotentDi
     public void testNoop() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:result");
         // should be able to read the file multiple times as idempotent is false
-        mock.expectedMessageCount(2);
+        mock.expectedMinimumMessageCount(2);
 
         assertMockEndpointsSatisfied();
     }



Mime
View raw message