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 "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/06/14 03:40:47 UTC
[jira] [Commented] (HADOOP-7389) Use of TestingGroups by tests
causes subsequent tests to fail
[ https://issues.apache.org/jira/browse/HADOOP-7389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048941#comment-13048941 ]
Todd Lipcon commented on HADOOP-7389:
-------------------------------------
I don't think we need the following code anymore:
{code}
if (result == null) {
result = new ArrayList<String>();
}
{code}
right?
Also, any reason that you've relocated the testLogin method?
> 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