lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Build failed in Hudson: Solr-3.x #54
Date Sat, 03 Jul 2010 23:50:40 GMT
On Sat, Jul 3, 2010 at 5:50 PM, Chris Hostetter
<hossman_lucene@fucit.org> wrote:
> : >    [junit] Testcase: testMaxTime(org.apache.solr.update.AutoCommitTest):  
    FAILED
> : >    [junit] null
> : >    [junit] junit.framework.AssertionFailedError: null
> : >    [junit]     at org.apache.solr.update.AutoCommitTest.testMaxTime(AutoCommitTest.java:192)
> :
> : Hmmm, the code on this line is:
> :     assertTrue(trigger.waitForCommit(30000));
> :
> : The only place I can see that might cause a NPE to be thrown is line 65:
>
> there's nothing there to indicate an NPE... the "null" in the exception
> message is just because the single arg version of assertTrue was used (ie:
> the message is null)
>
> the failure is just saying that trigger.waitForCommit(30000) returned
> false.

Ah, thanks... definitely misleading.  I was expecting an "expected
true" in that case.

-Yonik
http://www.lucidimagination.com

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


Mime
View raw message