epugh commented on code in PR #5107:
URL: https://github.com/apache/solr/pull/5107#discussion_r4444630487


##########
solr/core/src/test/org/apache/solr/cli/AuthToolTest.java:
##########
@@ -82,6 +85,35 @@ public void testEnableAuth() throws Exception {
       "true"
     };
     assertEquals(0, runTool(args, AuthTool.class));
+    String enabled = Files.readString(solrIncludeFile);
+    assertTrue(enabled.contains(sslSetting));
+    assertTrue(
+        enabled.contains(
+            Constants.WINDOWS ? "set SOLR_AUTH_TYPE=basic" : 
"SOLR_AUTH_TYPE='basic'"));

Review Comment:
   ugh, yeah, come on `.toml` or `.yaml` or even `.properties`



-- 
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]

Reply via email to