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

Uwe Schindler commented on LUCENE-3380:
---------------------------------------

I assume the bugs in FileSwitchDirectory are the same NotExists Exceptions 
thrown 

We should maybe also add FileSwitchDirectory to the list of random directories. 
It could create two random directories (using LTC.newDirectory(false) 2 times 
with a suffix on the dir name like ".1" and ".2") and combine them with a 
FileSwitchDirectory. The Set<String> of extensions could be a random list of 
extensions from the IndexFileNames collection.

> enable FileSwitchDirectory randomly in tests and fix 
> compound-file/NoSuchDirectoryException bugs
> ------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3380
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3380
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: 3.4, 4.0
>
>
> Looks like FileSwitchDirectory has the same bugs in it as LUCENE-3374.
> We should randomly enable this guy in tests and flush them all out the same 
> way.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to