Return-Path: X-Original-To: apmail-lucene-commits-archive@www.apache.org Delivered-To: apmail-lucene-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 76DF9E7E4 for ; Wed, 6 Feb 2013 00:35:26 +0000 (UTC) Received: (qmail 6122 invoked by uid 500); 6 Feb 2013 00:35:26 -0000 Mailing-List: contact commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list commits@lucene.apache.org Received: (qmail 6112 invoked by uid 99); 6 Feb 2013 00:35:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2013 00:35:26 +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; Wed, 06 Feb 2013 00:35:25 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 83AC0238897F; Wed, 6 Feb 2013 00:35:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1442815 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java Date: Wed, 06 Feb 2013 00:35:06 -0000 To: commits@lucene.apache.org From: markrmiller@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130206003506.83AC0238897F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: markrmiller Date: Wed Feb 6 00:35:06 2013 New Revision: 1442815 URL: http://svn.apache.org/viewvc?rev=1442815&view=rev Log: tests: add a bit of slop Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java?rev=1442815&r1=1442814&r2=1442815&view=diff ============================================================================== --- lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java (original) +++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java Wed Feb 6 00:35:06 2013 @@ -302,7 +302,7 @@ public class SoftAutoCommitTest extends for( int i=0;i<5; i++ ) { assertU(adoc("id", ""+500 + i, "subject", "five fast docs")); } - long fast5end = System.currentTimeMillis() - 100; // minus a tad of slop + long fast5end = System.currentTimeMillis() - 200; // minus a tad of slop long fast5time = 1 + fast5end - fast5start; // total time for all 5 adds determines the number of soft to expect