uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-5176) multi-threaded test case driver has logic bug
Date Wed, 09 Nov 2016 16:02:58 GMT

     [ https://issues.apache.org/jira/browse/UIMA-5176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Marshall Schor resolved UIMA-5176.
    Resolution: Fixed

> 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

View raw message