Couple of things.
Latest released version of TestNG is 7.0.0.
How is the threadpool of your credentials being maintained? Can you show us some code snippets for that ? It looks like the user credentials threadpool is somehow being tied to the threads.
To the best of my knowledge, TestNG doesn’t work with a cachedthreadpool (which is where threads are re-used) but it works with a regular thread pool executor (which works with a LinkedBlockingQueue instead of using a SynchronousQueue and thus get the behavior of a cachedthreadpool).
Because of this, the behavior would be that the number of tasks remain controlled, but not the thread lifecycle.
You might want to revisit your logic wherein your logic doesn’t depend upon threads for your credentials pool.
Thanks & Regards
"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/
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/testng-dev/93340f6b-9a13-49b6-8d8b-372a076e67e3%40googlegroups.com.