-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADB parallelization #6
Comments
One solution has been mentioned here, #5 Basically the problem is all usb devices are mounted on host at I have not tested this solution, so not sure if it will work or not but most probably it should. One better solution, I will suggest to use openstf. Not very difficult to setup. openstf provides REST API to connect remote devices using If you want to try it with docker, just call openstf remote api first before starting appium in your container and it will be good to go. Some references: |
Thanks you very much for your response. The first solution works perfectly. I have executed the test in two devices in parallel. We know openstf and it´s very useful for us. However, for our project, we use only adb-kit ( https://github.com/openstf/adbkit ) to know which devices are connected in the pc-host. The issue with the docker is the same that I have mentioned. We have a ADB Server in the host and when we execute the docker, the devices wasn´t found because the ADB Server in the host catchs the devices. Any solution for that? Or the best solution is to manage the bus and devices in Linux with lsusb without install ADB Server in the host? Sorry if you don´t understand me, I think is complicated to explain it. Thanks you very much again, regards. |
I guess better not to install adb on host server. In case if it is install, make sure adb server is off by running |
Ok, I had thunk that. Thanks you very much for your help. |
Hi,
First of all, thanks you for your work and amazing explanation vbanthia.
I have created a docker for Appium and Appium Python Client to execute my tests.
Everything works right but I have a problem with ADB when I tried to execute my test in two devices at the same time.
It seems that ADB Server of the first docker catchs the two devices and the ADB Server of the second docker can´t visualize the devices.
Is there a way to execute one test at the same time in two devices in parallel?
In your explanation, you say that you can create containers with different devices but you don´t specify if you can in parallel.
Thanks you so much.
The text was updated successfully, but these errors were encountered: