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

ASF subversion and git services commented on LUCENE-5067:
---------------------------------------------------------

Commit 1587627 from [email protected] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1587627 ]

LUCENE-5067: add more tests

> add a BaseDirectoryTestCase
> ---------------------------
>
>                 Key: LUCENE-5067
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5067
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Robert Muir
>             Fix For: 4.9, 5.0
>
>         Attachments: LUCENE-5067.patch, LUCENE-5067.patch
>
>
> Currently most directory code is tested indirectly. But there are still 
> corner cases like LUCENE-5066, NRCachingDirectory.testNoDir, 
> TestRAMDirectory.testSeekToEOFThenBack, that only target specific directories 
> where some user reported the bug. If one of our other directories has these 
> bugs, the best we can hope for is some other lucene test will trip it 
> indirectly and we will find it after lots of debugging...
> Instead we should herd up all these tests into a base class and test every 
> directory explicitly and directly with it (like we do with the codec API).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to