lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: unit test stability
Date Wed, 30 Sep 2009 13:26:24 GMT
Getting better and better.
I had to up the amount of time from 20 sec to 2 min to wait for jetty
to launch - not sure if there's a bug in jetty or solr that would
sometimes cause such a long launch time.

The last failure was in TestLBHttpSolrServer (address already in use),
and I just committed a fix.
Remember to let Jetty pick the ports! (i.e. pass 0 as the port to jetty runner)


On Tue, Sep 29, 2009 at 9:53 AM, Yonik Seeley
<> wrote:
> OK, I think our unit tests are slowly getting in better shape.
> They were failing at least 10% of the time, even on my fast box...
> after the last fixups committed, I got up to 32 in a row before
> failure.
> Going forward, it would be nice to keep on top of these a little more,
> otherwise the tests become like the little boy who cried wolf.
> As to the failure in run#32: here it is.
>    <error message="expected:&lt;2009-09-29 07:0[9]&gt; but
> was:&lt;2009-09-29 07:0[8]&gt;" type="org.junit.ComparisonFailure"> at
> org.apache.solr.handler.dataimport.TestEvaluatorBag.testGetDateFormatEvaluator(
> </error>
> -Yonik

View raw message