[
https://issues.apache.org/jira/browse/HADOOP-7389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron T. Myers updated HADOOP-7389:
-----------------------------------
Attachment: hadoop-7389.0.patch
The only thing I changed in {{TestUserGroupInformation.java}} was to change the
order of the test cases. Without the corresponding change to
{{UserGroupInformation.java}}, this modified test fails.
> Use of TestingGroups by tests causes subsequent tests to fail
> -------------------------------------------------------------
>
> Key: HADOOP-7389
> URL: https://issues.apache.org/jira/browse/HADOOP-7389
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Affects Versions: 0.23.0
> Reporter: Aaron T. Myers
> Assignee: Aaron T. Myers
> Fix For: 0.23.0
>
> Attachments: hadoop-7389.0.patch
>
>
> As mentioned in HADOOP-6671,
> {{UserGroupInformation.createUserForTesting(...)}} manipulates static state
> which can cause test cases which are run after a call to this function to
> fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira