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

Simon Willnauer commented on LUCENE-2764:
-----------------------------------------

bq. anyway I think this is ready to be committed though - I will hold off a 
little and commit if nobody objects...
actually this doesn't use PreFlexRW since some tests don't like it - yet I 
think we need some way to exclude a codec within a testcase so that testcases 
that don't work with say PreFlex that this codec is not used within that 
testcase. 



> Allow tests to use random codec per field
> -----------------------------------------
>
>                 Key: LUCENE-2764
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2764
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Tests
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: LUCENE-2764.patch, LUCENE-2764.patch
>
>
> Since we now have a real per field codec support we should enable to run the 
> tests with a random codec per field. When I change something related to 
> codecs internally I would like to ensure that whatever combination of codecs 
> (except of preflex) I use the code works just fine. I created a 
> RandomCodecProvider in LuceneTestCase that randomly selects the codec for 
> fields when it sees them the first time. I disabled the test by default to 
> leave the old randomize codec support in as it was / is.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to