Skip to content

Apache Lucene open-source search software

SOLR-10125: Enable debug logging for addReplicaTest()

Cao Manh Datbf040a88ef88
diff --git a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
index b385b4f8f8b..4ae2b709ba4 100644
--- a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
@@ -69,6 +69,7 @@ import org.apache.solr.common.util.SimpleOrderedMap;
import org.apache.solr.core.CoreContainer;
import org.apache.solr.core.SolrCore;
import org.apache.solr.core.SolrInfoBean.Category;
+import org.apache.solr.util.LogLevel;
import org.apache.solr.util.TestInjection;
import org.apache.solr.util.TimeOut;
import org.junit.Before;
@@ -607,6 +608,7 @@ public class CollectionsAPIDistributedZkTest extends SolrCloudTestCase {
}
@Test
+ @LogLevel("org.apache.solr.cloud=DEBUG")
public void addReplicaTest() throws Exception {
String collectionName = "addReplicaColl";