Skip to content

AppiumDriverLocalService dosent spawn on MultiThreading #283

Description

@saikrishna321

@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

https://gist.github.com/saikrishna321/6592f680dee7d70be59c

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions