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

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

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

ASF GitHub Bot updated HADOOP-18009:
------------------------------------
    Labels: pull-request-available  (was: )

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

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