[
https://issues.apache.org/jira/browse/HDFS-13746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16578876#comment-16578876
]
Daniel Templeton commented on HDFS-13746:
-----------------------------------------
I was just reminded on another JIRA that there's a better way to do the
retries: {{GenericTestUtils.waitFor()}}. Sorry I didn't think of that earlier.
On printing the arrays, {{gN}} is a {{List}}, not an array, so calling
{{gN.toString()}} will return a string with the contents of the list. If you
trace the code deep enough (or use a debugger), you'll see that it's
specifically a {{LinkedList}}.
> Still occasional "Should be different group" failure in
> TestRefreshUserMappings#testGroupMappingRefresh
> -------------------------------------------------------------------------------------------------------
>
> Key: HDFS-13746
> URL: https://issues.apache.org/jira/browse/HDFS-13746
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Siyao Meng
> Assignee: Siyao Meng
> Priority: Major
> Attachments: HDFS-13746.001.patch, HDFS-13746.002.patch,
> HDFS-13746.003.patch, HDFS-13746.004.patch
>
>
> In https://issues.apache.org/jira/browse/HDFS-13723, increasing the amount of
> time in sleep() helps but the problem still appears, which is annoying.
>
> Solution:
> Use a loop to allow the test case to fail maxTrials times before declaring
> failure. Wait 50 ms between each retry.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]