lucene-dev mailing list archives

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

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

Uwe Schindler updated LUCENE-2853:
----------------------------------

    Fix Version/s:     (was: 4.3)
                   4.4
    
> 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.4
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


Mime
View raw message