[ 
https://issues.apache.org/jira/browse/LUCENE-6405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14483641#comment-14483641
 ] 

Robert Muir commented on LUCENE-6405:
-------------------------------------

I'll close the issue, but we should improve it more later. Really each of these 
tests should have unit tests (using a MDW that failOn's 
openInput/createOutput/whereever). I think it would even better. But for now 
this is an improvement over the IW tests and fills missing coverage for 
backwards-codecs/

> BaseXXXFormatTestCase should test exception handling.
> -----------------------------------------------------
>
>                 Key: LUCENE-6405
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6405
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Robert Muir
>             Fix For: Trunk, 5.2
>
>         Attachments: LUCENE-6405_initial.patch
>
>
> BaseXXXFormatTestCases do a really good job on almost everything about 
> testing a format. We rely on this almost completely for maintaining e.g. 
> backwards compat codecs and keeping bugs out of the current ones.
> But they don't test the exception handling. For the current codecs you 
> shouldn't have to debug testThreadInterruptDeadLock or similar. And for the 
> back compat codecs, its just completely untested.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to