[
https://issues.apache.org/jira/browse/HDDS-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siyao Meng updated HDDS-3484:
-----------------------------
Labels: newbie (was: )
> Refactor TestReplicationManager to use EventQueue#processAll in place of
> Thread#sleep
> -------------------------------------------------------------------------------------
>
> Key: HDDS-3484
> URL: https://issues.apache.org/jira/browse/HDDS-3484
> Project: Apache Ozone
> Issue Type: Bug
> Components: test
> Affects Versions: 0.5.0
> Reporter: Nandakumar
> Assignee: YI-CHEN WANG
> Priority: Minor
> Labels: newbie
>
> 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.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]