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.

JC

On Mon, Feb 21, 2011 at 4:44 AM, Jörn Kottmann <[email protected]> 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
>
>

Reply via email to