You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by kl...@apache.org on 2007/08/09 04:12:09 UTC

svn commit: r564075 - /lucene/solr/trunk/src/test/org/apache/solr/update/AutoCommitTest.java

Author: klaas
Date: Wed Aug  8 19:12:08 2007
New Revision: 564075

URL: http://svn.apache.org/viewvc?view=rev&rev=564075
Log:
Make autocommit tests slightly more tolerant of system load

Modified:
    lucene/solr/trunk/src/test/org/apache/solr/update/AutoCommitTest.java

Modified: lucene/solr/trunk/src/test/org/apache/solr/update/AutoCommitTest.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/test/org/apache/solr/update/AutoCommitTest.java?view=diff&rev=564075&r1=564074&r2=564075
==============================================================================
--- lucene/solr/trunk/src/test/org/apache/solr/update/AutoCommitTest.java (original)
+++ lucene/solr/trunk/src/test/org/apache/solr/update/AutoCommitTest.java Wed Aug  8 19:12:08 2007
@@ -82,7 +82,7 @@
         adoc("id", "A14", "subject", "info" ), null ) );
     handler.handleRequest( req, rsp );
     // Wait longer then the autocommit time
-    Thread.sleep( 500 );
+    Thread.sleep( 1000 );
     // blocks until commit is complete
     req.setContentStreams( toContentStreams(
         adoc("id", "A15", "subject", "info" ), null ) );
@@ -108,7 +108,7 @@
     req.setContentStreams( toContentStreams(
         adoc("id", "B14", "subject", "info" ), null ) );
     handler.handleRequest( req, rsp );
-    Thread.sleep( 500 );
+    Thread.sleep( 1000 );
 
     // add request will block if commit has already started or completed
     req.setContentStreams( toContentStreams(