You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/09/10 13:18:32 UTC

[jira] Updated: (LUCENE-2639) remove random juggling in tests, add -Dtests.seed

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

Robert Muir updated LUCENE-2639:
--------------------------------

    Attachment: LUCENE-2639.patch

> remove random juggling in tests, add -Dtests.seed
> -------------------------------------------------
>
>                 Key: LUCENE-2639
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2639
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Tests
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2639.patch
>
>
> Since we added newIndexWriterConfig/newDirectory, etc, a lot of tests are juggling randoms around.
> Instead this patch:
> * changes it so LuceneTestCase[J4] manage the random.
> * allow you to set -Dtests.seed=23432432432 to reproduce a test, rather than editing the code
> * removes random arguments from newIndexWriterConfig, newDirectory.
> I want to do this before looking at doing things like newField so we can vary term vectors, etc.
> I also fixed the solr contrib builds so they arent hiding the exceptions i noted in SOLR-2002.

-- 
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org