Description
@TikhomirovSergey i was trying to execute the appium android test in parallel where i wanted to start the appium-server programmatically for every thread.
TestNG by default provides a way were u can run methods in parallel and set the thread-count. When i trigger the appium server with AppiumLocalSerive it always hooks to a single thread.
When i start the appium server as we do from command line it works fine. I have a sample project to reproduce it.
https://github.com/saikrishna321/TestNGParallelThreads
When i set the ParallelMode.CLASSES i see the the appium server and the application launched on two thread(two devices) as expected. Please check the gist for logs
https://gist.github.com/saikrishna321/8a2e49ccc080a3faf014
When i set the ParallelMode.METHODS i dont see the methods executing in parallel, check the gist for logs and also i noticed the AfterClass for one of the has not completed, i see the process still running