lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r1210709 - /lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java
Date Mon, 05 Dec 2011 23:34:33 GMT
Author: markrmiller
Date: Mon Dec  5 23:34:32 2011
New Revision: 1210709

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

Modified:
    lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java

Modified: lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java?rev=1210709&r1=1210708&r2=1210709&view=diff
==============================================================================
--- lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java
(original)
+++ lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/update/SoftAutoCommitTest.java
Mon Dec  5 23:34:32 2011
@@ -118,7 +118,7 @@ public class SoftAutoCommitTest extends 
 
     // however slow the machine was to do the soft commit compared to expected,
     // assume newSearcher had some magnitude of that much overhead as well 
-    long slowTestFudge = Math.max(100, 6 * (soft529 - add529 - softCommitWaitMillis));
+    long slowTestFudge = Math.max(200, 6 * (soft529 - add529 - softCommitWaitMillis));
     assertTrue("searcher529 wasn't soon enough after soft529: " +
                searcher529 + " !< " + soft529 + " + " + slowTestFudge + " (fudge)",
                searcher529 < soft529 + slowTestFudge );



Mime
View raw message