Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5176

multi-threaded test case driver has logic bug

    XMLWordPrintableJSON

Details

    Description

      The test case helper class for running multi-threaded tests, MultiThreadUtils, has a missed race condition in the main runnable. The first part which waits / runs, until done, misses one test for terminate, which might become true right before the synchronized block is entered. Saw this in one run. Fixed by testing for ThreadControl.TERMINATE after synchronized.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: