[ 
https://issues.apache.org/jira/browse/HDFS-13746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16578711#comment-16578711
 ] 

Siyao Meng commented on HDFS-13746:
-----------------------------------

[~templedf] Thanks for the comments!

1. gN.toString() won't print the serialized content of the string array. 
Instead, it would just return a string representation of the object 
(essentially invoking Object.toString()).

2. Okay. Changed from int to long for _*maxTrials*_ and _*trial*_.

3. Removed GenericTestUtils.setLogLevel(LOG, Level.DEBUG) from setUp().

 

I have uploaded patch v004. Thanks!

> 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]

Reply via email to