uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Baessler (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-665) sometimes the test testHasNextWithOutOfMemoryError() for test class CpmCollectionReader_ErrorTest fails
Date Mon, 03 Dec 2007 15:22:43 GMT

    [ https://issues.apache.org/jira/browse/UIMA-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547870
] 

Michael Baessler commented on UIMA-665:
---------------------------------------

It seems that the error is caused by the test case itself. The test assumes that the last
call to the StatusCallbackListener is the call that caused the error and the CAS for this
call is null. But this is not correct. It can happen that the second last call to the StatusCallbackListener
has the error and so on the last call the CAS is not null. The StatusCallbackListener already
checks if an error is reported that the CAS is null, so I will just remove the wrong assumption
in the test case that the last CAS going through the StatusCallbackListener must be null.


> sometimes the test testHasNextWithOutOfMemoryError() for test class CpmCollectionReader_ErrorTest
fails
> -------------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-665
>                 URL: https://issues.apache.org/jira/browse/UIMA-665
>             Project: UIMA
>          Issue Type: Bug
>          Components: Collection Processing
>    Affects Versions: 2.2.1
>            Reporter: Michael Baessler
>            Assignee: Michael Baessler
>             Fix For: 2.2.1
>
>
> sometimes this test case fails... I will investigate the issue

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message