lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r1608138 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZkTest.java
Date Sat, 05 Jul 2014 21:58:20 GMT
Author: shalin
Date: Sat Jul  5 21:58:20 2014
New Revision: 1608138

URL: http://svn.apache.org/r1608138
Log:
SOLR-6225: Add the url of the node on which commitWithin failed

Modified:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZkTest.java

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZkTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZkTest.java?rev=1608138&r1=1608137&r2=1608138&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZkTest.java
(original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZkTest.java
Sat Jul  5 21:58:20 2014
@@ -344,7 +344,7 @@ public class BasicDistributedZkTest exte
     }
     
     for (SolrServer client : clients) {
-      assertEquals("commitWithin did not work", before + 1, client.query(new SolrQuery("*:*")).getResults().getNumFound());
+      assertEquals("commitWithin did not work on node: " + ((HttpSolrServer)client).getBaseURL(),
before + 1, client.query(new SolrQuery("*:*")).getResults().getNumFound());
     }
     
     // TODO: This test currently fails because debug info is obtained only



Mime
View raw message