lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r980261 - /lucene/dev/trunk/solr/src/test/org/apache/solr/handler/TestReplicationHandler.java
Date Wed, 28 Jul 2010 22:57:44 GMT
Author: markrmiller
Date: Wed Jul 28 22:57:44 2010
New Revision: 980261

URL: http://svn.apache.org/viewvc?rev=980261&view=rev
Log:
add another couple loops for this test to keep false failure from occurring

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=980261&r1=980260&r2=980261&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 Wed
Jul 28 22:57:44 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 < 3; i++) {
+    for (int i = 0; i < 5; i++) {
       slaveQueryRsp = rQuery(1, "id:555", slaveClient);
       slaveQueryResult = (SolrDocumentList) slaveQueryRsp.get("response");
       if (slaveQueryResult.getNumFound() > 0) {



Mime
View raw message