Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Lucene, mail # dev - hudson hung


Copy link to this message
-
Re: hudson hung
Dawid Weiss 2012-04-30, 19:59
> Can we somehow fix our tests / Jenkins to detect hangs and kill/fail...?

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

@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).

> We can do something simple, like no console output for more than 30 minutes...

"no console output" is actually not that simple (say if a test
redirects System.out to an internal buffer for some reason)? I think
an explicit (largeish) timeout is a better idea. I'm sure Jenkins has
something like it built-in too, but haven't investigated.

Dawid

---------------------------------------------------------------------