[ 
https://issues.apache.org/jira/browse/SOLR-17207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris M. Hostetter updated SOLR-17207:
--------------------------------------
    Attachment: SOLR-17207.patch
        Status: Open  (was: Open)

Attached path removes {{LocaleTest}} and refactors it's logic into a helper 
method used by {{KerberosTestServices.start()}} that calls 
{{assumeNoException(...)}} to skip the test if the current Local can't be used 
when logging into MiniKdc.

Example...
{noformat}
hossman@slate:~/lucene/solr [j11] [*main] $ ./gradlew -p 
solr/modules/hadoop-auth test -Ptests.locale=en-US 
-Ptests.seed=63BDA1A48F100645 -Ptests.neverUpToDate=true
...
> Task :solr:modules:hadoop-auth:test
:solr:modules:hadoop-auth:test (SUCCESS): 54 test(s), 1 skipped
...

hossman@slate:~/lucene/solr [j11] [*main] $ ./gradlew -p 
solr/modules/hadoop-auth test -Ptests.locale=th-TH 
-Ptests.seed=63BDA1A48F100645 -Ptests.neverUpToDate=true
...
> Task :solr:modules:hadoop-auth:test
:solr:modules:hadoop-auth:test (SUCCESS): 54 test(s), 6 skipped
...
{noformat}
({{{}TestImpersonationWithHadoopAuth.testForwarding{}}} is skipped regardless 
of Locale due to a pre-existing {{{}AwaitsFix{}}})

/cc [~krisden]

> remove LocaleTest, cleanup test detection of MiniKdc incompatible Locales
> -------------------------------------------------------------------------
>
>                 Key: SOLR-17207
>                 URL: https://issues.apache.org/jira/browse/SOLR-17207
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Chris M. Hostetter
>            Assignee: Chris M. Hostetter
>            Priority: Major
>         Attachments: SOLR-17207.patch
>
>
> [https://lists.apache.org/thread/wkdj3xv10n670k3zh4qtf204z2qr6zpl]
>  
> Purpose of this jira:
>  * disable LocaleTest
>  * refactor Locale checking logic in LocaleTest into a new "assume" helper 
> for MiniKdc tests



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to