lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r980879 - /lucene/dev/trunk/solr/src/test/org/apache/solr/handler/TestReplicationHandler.java
Date Fri, 30 Jul 2010 16:05:48 GMT
Author: markrmiller
Date: Fri Jul 30 16:05:48 2010
New Revision: 980879

URL: http://svn.apache.org/viewvc?rev=980879&view=rev
Log:
this is still somewhat brittle - try waiting for up to 3 seconds

Modified:
    lucene/dev/trunk/solr/src/test/org/apache/solr/handler/TestReplicationHandler.java

Modified: lucene/dev/trunk/solr/src/test/org/apache/solr/handler/TestReplicationHandler.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/src/test/org/apache/solr/handler/TestReplicationHandler.java?rev=980879&r1=980878&r2=980879&view=diff
==============================================================================
--- lucene/dev/trunk/solr/src/test/org/apache/solr/handler/TestReplicationHandler.java (original)
+++ lucene/dev/trunk/solr/src/test/org/apache/solr/handler/TestReplicationHandler.java Fri
Jul 30 16:05:48 2010
@@ -452,7 +452,7 @@ public class TestReplicationHandler exte
     SolrDocumentList slaveQueryResult = null;
     NamedList slaveQueryRsp;
     // try a few times in case tests are running slow
-    for (int i = 0; i < 10; i++) {
+    for (int i = 0; i < 30; i++) {
       slaveQueryRsp = rQuery(1, "id:555", slaveClient);
       slaveQueryResult = (SolrDocumentList) slaveQueryRsp.get("response");
       if (slaveQueryResult.getNumFound() > 0) {



Mime
View raw message