Uploaded image for project: 'MyCoRe'
  1. MCR-1501

MCRJobQueueTest depends on execution speed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2016.12
    • Fix Version/s: 2017.05
    • Component/s: mycore-base
    • Labels:
      None

      Description

      Failed tests: 
        MCRJobQueueTest.testOffer:59 job should be done
      

      The Thread.sleep(1000); should be replaced by an event driven 'wait'. On fast systems this would make the test faster while improving stability on slow machines.

        Attachments

          Activity

            People

            • Assignee:
              mcradler René Adler
              Reporter:
              yagee Thomas Scheffler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: