epugh commented on a change in pull request #513: URL: https://github.com/apache/solr/pull/513#discussion_r784073844
########## File path: solr/core/src/test/org/apache/solr/response/TestRawTransformer.java ########## @@ -16,55 +16,151 @@ */ package org.apache.solr.response; +import org.apache.commons.io.FileUtils; import org.apache.solr.SolrTestCaseJ4; +import org.apache.solr.client.solrj.embedded.JettySolrRunner; +import org.apache.solr.client.solrj.impl.CloudSolrClient; +import org.apache.solr.client.solrj.impl.HttpSolrClient; +import org.apache.solr.client.solrj.impl.NoOpResponseParser; +import org.apache.solr.client.solrj.request.CollectionAdminRequest; +import org.apache.solr.client.solrj.request.QueryRequest; +import org.apache.solr.cloud.MiniSolrCloudCluster; +import org.apache.solr.cloud.SolrCloudTestCase; import org.apache.solr.common.SolrInputDocument; -import org.apache.solr.request.SolrQueryRequest; +import org.apache.solr.common.params.ModifiableSolrParams; import org.junit.After; +import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; +import java.io.File; +import java.lang.invoke.MethodHandles; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.LinkedHashMap; +import java.util.Map; +import java.util.Properties; + /** * Tests Raw JSON output for fields when used with and without the unique key field. * * See SOLR-7993 */ -public class TestRawTransformer extends SolrTestCaseJ4 { +public class TestRawTransformer extends SolrCloudTestCase { + + private static final String DEBUG_LABEL = MethodHandles.lookup().lookupClass().getName(); + + /** A basic client for operations at the cloud level, default collection will be set */ + private static JettySolrRunner JSR; Review comment: Honestly, I think that we might be bikeshedding here, and in lieu of any commonly accepted standard for these types of variable names (that is enforced by a linter!), this is fine. I looked at the `TestCloudJSONFacetSKGEquiv` and it does use the same pattern. -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org