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

Marshall Schor closed UIMA-2295.
--------------------------------

    Resolution: Fixed
    
> timing bug in CPM testcase causes hang
> --------------------------------------
>
>                 Key: UIMA-2295
>                 URL: https://issues.apache.org/jira/browse/UIMA-2295
>             Project: UIMA
>          Issue Type: Bug
>          Components: Build, Packaging and Test
>    Affects Versions: 2.3.1SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>             Fix For: 2.4.0SDK
>
>
> The CpmInitTest has faulty logic - it starts a cpm processing a bunch of 
> docs, and then issues an async stop after 500 milliseconds.  If the pipeline 
> has already finished (say, on a fast CPU), then the tested for callback of 
> "aborted" (which normally happens when the pipeline is stopped before it's 
> finished) is replaced by a callback of "finished".  The test case only checks 
> for aborted.
> Try fixing this to have an infinite-sized number of docs, so it doesn't 
> "finish" before stopping.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to