: > Can we somehow fix our tests / Jenkins to detect hangs and kill/fail...?

FYI: it's pretty trivial to have jenkins abort any build that has been 
running more then X minutes.

check the "Abort the build if it's stuck" checkbox (under "Build 
Environment") and then select the number of total minutes to wait, and 
wether you want the abort to be considered a failure or not.

: It's built in in the runner actually but not enabled... I'd have to
: play with it first to see if everything works fine (it should!), but
: feel free to do some testing -- add

that sounds like a much better plan.

: @Timeout(millis=?)
: 
: to LuceneTestCase and each test will expire after a given time (with
: all of its thread group's threads being interrupted first and then
: stopped if this doesn't help).


just to clarify: your'e saying that if we put that anotation on a class, 
like LuceneTestCase, it will apply to any test *method* in that class (or 
subclasses) ... and presumably if a subclass uses that anotation with a 
diff millis value, that will override the superclass.

correct?



-Hoss

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

Reply via email to