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

Robert Muir updated LUCENE-6405:
--------------------------------
    Attachment: LUCENE-6405_initial.patch

Here is an initial shotgun approach.

I verified it finds things like file leaks by introducing them to old codecs. 
But it currently sometimes trips assertions during IW.commit(). I'm not sure 
everything is ok here. I'm not trying to test IW so I'm gonna neuter it and 
keep working.

> 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
>         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