lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-2639) remove random juggling in tests, add -Dtests.seed
Date Fri, 10 Sep 2010 11:16:34 GMT
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


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