epugh commented on code in PR #1886:
URL: https://github.com/apache/solr/pull/1886#discussion_r1313815350
##########
solr/core/src/test/org/apache/solr/search/TestThinCache.java:
##########
@@ -26,13 +26,63 @@
import org.apache.solr.SolrTestCaseJ4;
import org.apache.solr.metrics.SolrMetricManager;
import org.apache.solr.metrics.SolrMetricsContext;
+import org.apache.solr.util.EmbeddedSolrServerTestRule;
+import org.apache.solr.util.TestHarness;
import org.apache.solr.util.stats.MetricUtils;
import org.junit.BeforeClass;
+import org.junit.ClassRule;
import org.junit.Test;
/** Test for {@link ThinCache}. */
public class TestThinCache extends SolrTestCaseJ4 {
+ @ClassRule public static EmbeddedSolrServerTestRule solrRule = new
EmbeddedSolrServerTestRule();
+ public static final String SOLR_NODE_LEVEL_CACHE_XML =
Review Comment:
I like seeing xml next ot the test too, helps me understand what is going
on. I use the tests as a "reference" to figure things out a lot.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]