Reproduce AdminUI 401 during basicAuth#4107
Conversation
Reverted whitespace-only edits (trailing space removal) while preserving the new test case for admin UI basic auth exception. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
Test looks good.. I didn't think we could do it with curl!!! |
|
cURL can do far more than your browser can, bro' |
|
+1 bring this into SOLR-18102. 'course Curl can do this... this bug is extremely testable. Lack of Selenium is no excuse either (as seen here). |
|
It's a shame to have a BATS test for this versus a typical Solr JUnit test, that'd be way more efficient. Bats tests get run in serial; we have a boiling frog problem! Was Java/JUnit deemed hard? |
It was useful as it closely resembles the CLI. I'm sure JUnit could have revealed the same. Perhaps a nice future task for an LLM - consider all BATS tests; if you find one that does not primarily exist to test CLI tool / shell script behavior, consider moving it to an ordinary JUnit test.... |
Ref mailing list and slack discussions