You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2012/02/21 05:01:57 UTC

svn commit: r1291586 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/AbstractDistributedZkTestCase.java

Author: markrmiller
Date: Tue Feb 21 04:01:56 2012
New Revision: 1291586

URL: http://svn.apache.org/viewvc?rev=1291586&view=rev
Log:
say what state we found if we found one that is not ACTIVE

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

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/AbstractDistributedZkTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/AbstractDistributedZkTestCase.java?rev=1291586&r1=1291585&r2=1291586&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/AbstractDistributedZkTestCase.java (original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/AbstractDistributedZkTestCase.java Tue Feb 21 04:01:56 2012
@@ -151,7 +151,7 @@ public abstract class AbstractDistribute
 
           String state = shard.getValue().get(ZkStateReader.STATE_PROP);
           if (!state.equals(ZkStateReader.ACTIVE)) {
-            fail("Not all shards are ACTIVE");
+            fail("Not all shards are ACTIVE - found a shard that is: " + state);
           }
         }
       }