[
https://issues.apache.org/jira/browse/HADOOP-18009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040011#comment-18040011
]
ASF GitHub Bot commented on HADOOP-18009:
-----------------------------------------
github-actions[bot] closed pull request #3656: HADOOP-18009. Reset
UserGroupInformation after tests run
URL: https://github.com/apache/hadoop/pull/3656
> Reset state after running TestSecureRegistry
> --------------------------------------------
>
> Key: HADOOP-18009
> URL: https://issues.apache.org/jira/browse/HADOOP-18009
> Project: Hadoop Common
> Issue Type: Test
> Components: registry
> Reporter: OD Repair
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> If test class TestRegistryOperationUtils runs after TestSecureRegistry in the
> same JVM, test
> TestRegistryOperationUtils#testUsernameExtractionEnvVarOverrride fails due to
> shared state between tests resulting in a wrong returned username. While
> currently the build process runs every test class in its own, separate JVM,
> tests could be sped up by running in the same JVM, and the state should be
> easy to reset.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]