--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/testng-users/55c4f1b8-bb99-45af-a4aa-758307ca07fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
>>>>> I want to be able to stop an execution of a single thread on a test failure, while keeping the other threads running (the rest of the tests).I didn't quite understand what do you mean by this? Are you saying that, TestNG should refrain from reusing a thread, on which there was a test failure already?If yes, what exactly are you trying to achieve? Please elaborate your use case, and the problem statement that you are trying to solve.Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/My Technical Scribblings @ https://rationaleemotions.com/
On Tue, Jun 11, 2019 at 12:25 PM Asaf Bitton <asaf....@ridewithvia.com> wrote:
Hi all,--I am executing my tests in parallel using the parallel parameter of maven-surefire-plugin.
I want to be able to stop an execution of a single thread on a test failure, while keeping the other threads running (the rest of the tests).
Can it be done?
Already tried the JAVA way of using interrupt() without any success.
Thanks.
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng...@googlegroups.com.
Asaf,
Interesting problem statement☺ Thanks for adding more context.
What if we abstracted out the machine IP information from the tests and did something like this:
Would this work ?
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.com/
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/testng-users/6858a443-7750-4fa0-9ec0-99207efb145b%40googlegroups.com.