Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

say what state we found if we found one that is not ACTIVE

Mark Robert Millerbd31c935d188
diff --git a/solr/core/src/test/org/apache/solr/cloud/AbstractDistributedZkTestCase.java b/solr/core/src/test/org/apache/solr/cloud/AbstractDistributedZkTestCase.java
index 610bb46ef7b..b05e254f6fd 100644
--- a/solr/core/src/test/org/apache/solr/cloud/AbstractDistributedZkTestCase.java
+++ b/solr/core/src/test/org/apache/solr/cloud/AbstractDistributedZkTestCase.java
@@ -151,7 +151,7 @@ public abstract class AbstractDistributedZkTestCase extends BaseDistributedSearc
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);
}
}
}