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

Eliminate the race condition in CloudBalancingDaemonTest

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: