You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Nanda kumar (Jira)" <ji...@apache.org> on 2020/04/23 17:01:00 UTC

[jira] [Created] (HDDS-3484) Refactor TestReplicationManager to use EventQueue#processAll in place of Thread#sleep

Nanda kumar created HDDS-3484:
---------------------------------

             Summary: 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: Nanda kumar


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: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org