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

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.5.0
    • None
    • test
    • None

    Description

      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

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

      Attachments

        Activity

          People

            a493172422 YI-CHEN WANG
            nanda Nandakumar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: