You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2011/08/18 09:32:27 UTC

[jira] [Commented] (LUCENE-3380) enable FileSwitchDirectory randomly in tests and fix compound-file/NoSuchDirectoryException bugs

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org