[
https://issues.apache.org/jira/browse/HDFS-13746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16578916#comment-16578916
]
Siyao Meng commented on HDFS-13746:
-----------------------------------
[~templedf] Thanks!
Ah! Sorry I just realized that I was looking at the wrong variable(str_group).
Yes .toString() would work for gN, thanks for pointing that out!
Great. I have rewritten the 4th test with GenericTestUtils.waitFor(). But I
have to convert long to int for the 3rd parameter. The resulting code is neat.
> 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]