dsmiley commented on code in PR #1218: URL: https://github.com/apache/solr/pull/1218#discussion_r1061098953
########## solr/solrj/src/test/org/apache/solr/client/solrj/response/TestSpellCheckResponse.java: ########## @@ -37,14 +40,18 @@ public class TestSpellCheckResponse extends EmbeddedSolrServerTestBase { @BeforeClass public static void beforeClass() throws Exception { - initCore(); + solrClientTestRule + .build() + .setSolrHome(Paths.get(SolrJettyTestBase.legacyExampleCollection1SolrHome())) + .init(); } static String field = "name"; + SolrClient client = getSolrClient(); Review Comment: Agreed on putting this at the end of beforeClass -- 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