Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C4B50DB00 for ; Tue, 2 Oct 2012 12:00:12 +0000 (UTC) Received: (qmail 42780 invoked by uid 500); 2 Oct 2012 12:00:12 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 42720 invoked by uid 500); 2 Oct 2012 12:00:12 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 42708 invoked by uid 99); 2 Oct 2012 12:00:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 12:00:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 12:00:10 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B30E823888EA; Tue, 2 Oct 2012 11:59:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@camel.apache.org From: davsclaus@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121002115927.B30E823888EA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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(); }