[ 
https://issues.apache.org/jira/browse/HDFS-10985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mingliang Liu updated HDFS-10985:
---------------------------------
    Summary: 
o.a.h.ha.TestZKFailoverController#testGracefulFailoverMultipleZKfcs should not 
use fixed time sleep before assertsions  (was: 
o.a.h.ha.TestZKFailoverController#testGracefulFailoverMultipleZKfcs fails 
intermittently)

> o.a.h.ha.TestZKFailoverController#testGracefulFailoverMultipleZKfcs should 
> not use fixed time sleep before assertsions
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-10985
>                 URL: https://issues.apache.org/jira/browse/HDFS-10985
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, test
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>         Attachments: HDFS-10985.000.patch
>
>
> {{TestZKFailoverController#testGracefulFailoverMultipleZKfcs}} uses fixed 
> time sleep before assertions. This may fail sometimes though 10 seconds are 
> generally long enough. I think we can use {{GenericTestUtils.waitFor()}} to 
> retry the assertions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to