[
https://issues.apache.org/jira/browse/HDDS-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
YI-CHEN WANG reassigned HDDS-3484:
----------------------------------
Assignee: YI-CHEN WANG (was: Nanda kumar)
> Refactor TestReplicationManager to use EventQueue#processAll in place of
> Thread#sleep
> -------------------------------------------------------------------------------------
>
> Key: HDDS-3484
> URL: https://issues.apache.org/jira/browse/HDDS-3484
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: test
> Affects Versions: 0.5.0
> Reporter: Nanda kumar
> Assignee: YI-CHEN WANG
> Priority: Minor
>
> We should use {{EventQueue#processAll}} in place of {{Thread#sleep}} in
> {{TestReplicationManager}}.
> Thanks to [~elek] for pointing this out in the review of HDDS-3483
> {quote}FYI: Instead of using Thread.sleep we have a better api:
> eventQueue.processAll(5000);
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]