You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "OD Repair (Jira)" <ji...@apache.org> on 2021/11/13 22:50:00 UTC

[jira] [Created] (HADOOP-18009) Reset state after running TestSecureRegistry

OD Repair created HADOOP-18009:
----------------------------------

             Summary: 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


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.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org