epugh commented on code in PR #2318: URL: https://github.com/apache/solr/pull/2318#discussion_r1506331229
########## solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpSolrClientBadInputTest.java: ########## Review Comment: nice! ########## solr/test-framework/src/java/org/apache/solr/util/SolrJettyTestRule.java: ########## @@ -70,12 +69,7 @@ public void reset() { @Override public void startSolr(Path solrHome) { - startSolr( - solrHome, - new Properties(), - JettyConfig.builder() - .withSSLConfig(SolrTestCaseJ4.sslConfig.buildServerSSLConfig()) - .build()); + startSolr(solrHome, new Properties(), JettyConfig.builder().build()); Review Comment: i like how much shorter this is! ########## solr/test-framework/src/java/org/apache/solr/embedded/JettyConfig.java: ########## @@ -84,9 +86,14 @@ public static class Builder { Long waitForLoadingCoresToFinishMs = 300000L; Map<ServletHolder, String> extraServlets = new TreeMap<>(); Map<Class<? extends Filter>, String> extraFilters = new LinkedHashMap<>(); - SSLConfig sslConfig = null; + SSLConfig sslConfig; int portRetryTime = 60; + { Review Comment: This use of `{` and `}` is new to me... Would this have worked? And or be simpler? ``` SSLConfig sslConfig = SolrTestCaseJ4.sslConfig != null ? SolrTestCaseJ4.sslConfig.buildServerSSLConfig() : null; ``` -- 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