Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1476

Fix race condition in TestTwoSuccessiveTasksOnSameContext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.16
    • REEF-Tests, REEF.NET
    • None

    Description

      Currently, TestTwoSuccessiveTasksOnSameContext faces a race condition. Although we wait for the Task's Stop handler to be triggered before checking that the task status is reset, we do not wait for the thread to actually finish. Instead, we should join on the task thread first before asserting that the Task is no longer present.

      Attachments

        Issue Links

          Activity

            People

              afchung90 Andrew Chung
              afchung90 Andrew Chung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: