uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject Re: [jira] Issue Comment Edited: (UIMA-2056) UIMA-AS extended test does not terminate reliable
Date Mon, 21 Feb 2011 09:44:49 GMT
On 2/18/11 2:50 AM, Jaroslaw Cwiklik wrote:
> Hmm, too bad this does not work. Seems like a bug in both of these
> components (surefire and failsafe). I dont know of an easy way to have the
> child process detect parent death that would be cross platform compatible.
> Perhaps a pipe can be set up between the two and the child can try to write
> to it every once and awhile and if that fails the child process can
> terminate. I dont know if either of the components can be extended to use
> such approach.

I tried running the tests embedded (fork param is set to never). In that
config the JVM just exits after a short while, I guess the test code is
calling System.exit in some way. Would it be an option to remove
all the System.exit calls in the test code ?

Jörn


Mime
View raw message