uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaroslaw Cwiklik <uim...@gmail.com>
Subject Re: [jira] Issue Comment Edited: (UIMA-2056) UIMA-AS extended test does not terminate reliable
Date Mon, 21 Feb 2011 14:21:13 GMT
Jorn, I checked both the Basic and Extended tests for System.exit(). None of
them calls this. Something else is causing
the termination of the process.


On Mon, Feb 21, 2011 at 4:44 AM, Jörn Kottmann <kottmann@gmail.com> wrote:

> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message