Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3484

Refactor TestReplicationManager to use EventQueue#processAll in place of Thread#sleep

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.5.0
    • Fix Version/s: None
    • Component/s: test
    • Labels:
      None
    • Target Version/s:

      Description

      We should use EventQueue#processAll in place of Thread#sleep in TestReplicationManager.

      Thanks to Marton Elek for pointing this out in the review of HDDS-3483

      FYI: Instead of using Thread.sleep we have a better api: eventQueue.processAll(5000);

        Attachments

          Activity

            People

            • Assignee:
              a493172422 YI-CHEN WANG
              Reporter:
              nanda Nandakumar
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: