On Sat, Jul 3, 2010 at 5:50 PM, Chris Hostetter
<[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to