Loggers

On Fri, Sep 13, 2013 at 4:22 PM, Dawid Weiss
<dawid.we...@cs.put.poznan.pl> wrote:
> I still don't see why you'd get different timings between Eclipse and
> Ant if you're running with the same VM -- it should be pretty
> consistent (either it caches dns lookups or it doesn't).
>
> D.
>
>
> On Fri, Sep 13, 2013 at 10:01 PM, Shai Erera <ser...@gmail.com> wrote:
>> With the patch on SOLR-5241, the test runs for 1.8-3.2s, so this seems to
>> solve the problem.
>>
>> I'm running w/ IBM J9 1.7.0, but it also happens w/ Oracle 1.7.0 (seems to
>> be even slower!), in both Ant and Eclipse.
>>
>> You can reproduce by running "ant test -Dtestcase=SimplePostToolTest" from
>> /solr/core. No specific seed as it's consistently slow without the patch,
>> and fast with it.
>>
>> Thanks Hoss!
>>
>> Shai
>>
>>
>> On Fri, Sep 13, 2013 at 10:02 PM, Dawid Weiss <dawid.we...@cs.put.poznan.pl>
>> wrote:
>>>
>>> Does this test actually try to connect to those URLs? If not then a
>>> fake:// URL handler would be a very elegant solution not reaching to
>>> the DNS subsystem at all? Not that I want to write it -- I remember it
>>> was kind of nightmarish :)
>>>
>>> Dawid
>>>
>>> On Fri, Sep 13, 2013 at 8:48 PM, Chris Hostetter
>>> <hossman_luc...@fucit.org> wrote:
>>> >
>>> > : and changing the SimplePostTool instances to static and switching the
>>> > : @Before to @BeforeClass causes the whole tests runtime to drop down to
>>> > 50
>>> > : seconds for me.
>>> >
>>> > i couldn't leave that change in because it introduced failures depending
>>> > on test ordering (i thought those SimplePostTool objects were treated as
>>> > immutible, but i was wrong)
>>> >
>>> > however: switching all usages of "example.com" to a "127.42.42.42" seems
>>> > to have fixed things.
>>> >
>>> > Shai: can you confirm this patch resolves things for you...
>>> >
>>> > https://issues.apache.org/jira/browse/SOLR-5241
>>> >
>>> >
>>> > -Hoss
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
>>> > For additional commands, e-mail: dev-h...@lucene.apache.org
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
>>> For additional commands, e-mail: dev-h...@lucene.apache.org
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>

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

Reply via email to