Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-6286: Add logging on how long we slept and how many docs were found

Shalin Shekhar Mangar63b9f12570ef
diff --git a/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java b/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
index 51c67bbe5de..ea9dea010e8 100644
--- a/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
+++ b/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
@@ -194,6 +194,7 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
Thread.sleep(100);
res = query(query, server);
}
+ log.info("Waited for {}ms and found {} docs", timeSlept, numFound(res));
return res;
}