Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-1884

Eliminate the race condition in CloudBalancingDaemonTest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Blocker
    • None
    • 7.34.0.Final
    • optaplanner-examples
    • 2020 Week 10-12 (from Mar 2)
    • 5
    • NEW
    • NEW

    Description

      CloudBalancingDaemonTest failed with a stack-trace found in the attached document. The test works with multi-threading solving and uses the sleep() method on two occasions to wait for all the threads to finish. This makes the test unreliable and may result in it failing from time to time.

      It would be beneficial to rewrite the test so it stops having this race condition present.

      Attachments

        Activity

          People

            rsynek@redhat.com Radovan Synek
            mtomco Michal Tomčo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: