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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to