Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 29829 invoked from network); 12 Sep 2010 08:55:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Sep 2010 08:55:16 -0000 Received: (qmail 85640 invoked by uid 500); 12 Sep 2010 08:55:16 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 85208 invoked by uid 500); 12 Sep 2010 08:55:13 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 85195 invoked by uid 99); 12 Sep 2010 08:55:11 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 08:55:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 08:54:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8C8sWOx005345 for ; Sun, 12 Sep 2010 08:54:33 GMT Message-ID: <14364855.138151284281672737.JavaMail.jira@thor> Date: Sun, 12 Sep 2010 04:54:32 -0400 (EDT) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Subject: [jira] Resolved: (LUCENE-2639) remove random juggling in tests, add -Dtests.seed In-Reply-To: <25989843.116491284117394573.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir resolved LUCENE-2639. --------------------------------- Resolution: Fixed forgot to mark this one resolved: Committed revisions 995772, 995863 (3x) > 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