lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Build failed in Hudson: Solr-3.x #54
Date Sat, 03 Jul 2010 21:50:45 GMT
: >    [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.

: Where can the logging output be accessed in the hudson builds?

good question ... normally it's included in the *.xml test result files as 
part of stderr, but it doesn't seem to be there when hudson runs the tests 
(it's probably getting consumed by the LogManager of the running Hudson 
instance.


-Hoss


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


Mime
View raw message