Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 12919 invoked from network); 24 Feb 2010 02:11:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Feb 2010 02:11:52 -0000 Received: (qmail 16989 invoked by uid 500); 24 Feb 2010 02:11:52 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 16915 invoked by uid 500); 24 Feb 2010 02:11:52 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 16905 invoked by uid 99); 24 Feb 2010 02:11:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2010 02:11:51 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2010 02:11:50 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3D9E1234C052 for ; Tue, 23 Feb 2010 18:11:29 -0800 (PST) Message-ID: <1133949822.479701266977489247.JavaMail.jira@brutus.apache.org> Date: Wed, 24 Feb 2010 02:11:29 +0000 (UTC) From: "Hoss Man (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Resolved: (SOLR-1792) Document peculiar behavior of TestHarness.LocalRequestFactory In-Reply-To: <586491909.479271266975330868.JavaMail.jira@brutus.apache.org> 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/SOLR-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man resolved SOLR-1792. ---------------------------- Resolution: Fixed Committed revision 915637. > Document peculiar behavior of TestHarness.LocalRequestFactory > ------------------------------------------------------------- > > Key: SOLR-1792 > URL: https://issues.apache.org/jira/browse/SOLR-1792 > Project: Solr > Issue Type: Improvement > Affects Versions: 1.1.0, 1.2, 1.3, 1.4 > Reporter: Hoss Man > Assignee: Hoss Man > Fix For: 1.5 > > Attachments: SOLR-1792.patch > > > While working on a test case, i realized that due to method evolution, TestHarness.LocalRequestFactory.makeRequest has some really odd behavior that results in the "defaults" the factory was configured with being ignored when the method is called with multiple varargs. > I spent some time attempting to "fix" this by adding the defaults to the end of the params, but then discovered that this breaks existing tests because the LRF defaults take precedence over defaults that may be hardcoded into the solrconfig.xml. The internal test might be changed to work arround this, but i didn't want to risk breaking tests for users who might be using TestHarness directly. > So this bug is just to track improving the documentation of what exactly LRF.makeRequest does with it's input -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.