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 2013/05/10 01:05:58 UTC
[jira] [Updated] (LUCENE-2853) Improve random seed portability for
test cases
[ 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