Skip to content
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

introduce smart appium state verification to be able to exit with 0 from mcloud-device too #189

Open
vdelendik opened this issue Feb 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@vdelendik
Copy link
Contributor

one of the use-case when appium is exited but we continue to restart mcloud-device...
zebrunner/appium#317 (comment)

  1. if appium as a host not resolved then we must recreate (not even restart mcloud-device)
  2. if appium is not accessible, earlier it was part of the healthcheck but seems not very useful we killed node and initiated restart
    #if curl --retry 3 --retry-delay 10 -Is "http://appium:4723/wd/hub/status" | head -1 | grep -q '200 OK'

I'd say we should wait any timeout 30-60s (actual value TBD) and decide what to do next.

I believe we can start with integrating the appium status verification on the startup as of now.

@vdelendik
Copy link
Contributor Author

vdelendik commented Mar 6, 2024

also let's try to identify appium startup phase to increase waiter or ignore such state until we have understanding of the result...

@vdelendik vdelendik modified the milestones: 2.6.4, 2.6.5 Mar 8, 2024
@vdelendik vdelendik modified the milestones: 2.6.5, 2.7 Mar 19, 2024
@vdelendik vdelendik modified the milestones: 2.7, 3.0 May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant