Re: TestNG: Killing processes associated with a timeout test
When the test hits the timeout, TestNG will interrupt the thread that the test is running in. But it doesn't know how to clean up what you are doing in that thread. I think you'll need to write your Java test case such that it correctly handles a thread interrupt. There's no way TestNG can do that for you, since it doesn't know what "java and shell processes" your test case has started.
On Mon, Sep 25, 2017 at 10:31 AM, Krishnan Mahadevan <[hidden email]> wrote:
Can you please help add a bit more context around:
How do you start up your processes ?
How do you currently clean up your processes in the normal course of time ?
Can you please show us a code sample that would help us understand your use case ?
Thanks & Regards
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"