Marshall Schor created UIMA-5176:
------------------------------------

             Summary: multi-threaded test case driver has logic bug
                 Key: UIMA-5176
                 URL: https://issues.apache.org/jira/browse/UIMA-5176
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
            Reporter: Marshall Schor
            Assignee: Marshall Schor
            Priority: Minor
             Fix For: 3.0.0SDKexp, 2.9.1SDK


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to