zebrunner / mcloud-grid

Customized selenium-hub
6 stars 3 forks source link

reuse new `stat-adb` endpoint feature to exit from broken device #96

Closed vdelendik closed 1 year ago

vdelendik commented 1 year ago

https://github.com/zebrunner/appium/issues/161

example using curl command is:

curl http://localhost:4723/status-adb -d '{"exitCode": 100}' -H 'Content-Type: application/json' -X GET
akamarouski commented 1 year ago

It is not possible to reproduce a situation where adb devices returns a non-device state and have the appium process running and accepting requests for the /status-adb endpoint. Overloading the device memory and trying to flip it to other states (bootloader, etc.) did not help.

dhreben commented 1 year ago

Will be check on prod