lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Updated] (LUCENE-2853) Improve random seed portability for test cases
Date Thu, 09 May 2013 23:05:58 GMT


Uwe Schindler updated LUCENE-2853:

    Fix Version/s:     (was: 4.3)
> Improve random seed portability for test cases
> ----------------------------------------------
>                 Key: LUCENE-2853
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>    Affects Versions: 4.0-ALPHA
>            Reporter: Robert Muir
>             Fix For: 4.4
> Currently, tests get a random seed, and several possibilities can be randomly assigned,
or fixed to
> specific values with -Dtests.codec or
> 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, 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message