lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2639) remove random juggling in tests, add -Dtests.seed
Date Fri, 10 Sep 2010 13:19:32 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908011#action_12908011
] 

Simon Willnauer commented on LUCENE-2639:
-----------------------------------------

Nice work robert! passes for me too. 

simon

> 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


Mime
View raw message