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

David Smiley updated LUCENE-2853:
---------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> Improve random seed portability for test cases
> ----------------------------------------------
>
>                 Key: LUCENE-2853
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2853
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>    Affects Versions: 4.0-ALPHA
>            Reporter: Robert Muir
>             Fix For: 4.8
>
>
> Currently, tests get a random seed, and several possibilities can be randomly 
> assigned, or fixed to
> specific values with -Dtests.codec or -Dtests.directory.
> The default values for these sort of things is 'random'.
> I think it would be a great improvement if we:
> * improved our code here so that we always consume the same amount from the 
> Random. this means for example, if you specific 
> -Dtests.directory=RAMDirectory, we should consume a wasted int, where we 
> would normally pick one from random. 
> * in 3.x, i think its worth it to actually consume wasted ints where 4.0 
> picks the codec.
> With these changes, you could ideally (in many situations situations)
> # take a failure and modify parameters to see if its specific to a particular 
> codec or directory, or a general problem
> # take a failure from trunk and see if it affects 3.x



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