lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1792) Document peculiar behavior of TestHarness.LocalRequestFactory
Date Fri, 28 May 2010 03:16:39 GMT

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

Hoss Man updated SOLR-1792:
---------------------------

    Fix Version/s: 3.1
                   4.0


Correcting Fix Version based on CHANGES.txt, see this thread for more details...

http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E


> 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, 3.1, 4.0
>
>         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.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message