zebrunner / appium

Enhanced Appium for Elastic Selenium Grid/MCloud services
9 stars 3 forks source link

parametrize `unregisterIfStillDownAfter` for appium node #90

Closed vdelendik closed 2 years ago

vdelendik commented 2 years ago

we have hardcoded "unregisterIfStillDownAfter":60000 without ability to manage it value based on requirements. let's introduce new env var for that. I want to test performance with 30000 to speedup cleanup and minimize re-register delays

vdelendik commented 2 years ago

done. to test I can recommend to decrease it to 30000 updating /usr/local/bin/zebrunner-farm shell script providing extra variable -e UNREGISTER_IF_STILL_DOWN_AFTER=30000

after that open /mcloud/grid/console, disconnect device -> device should disappear from the list in 30+10 seconds. with default value it is 60+10s.

changes are available in appium:1.5-beta1

vdelendik commented 2 years ago

verified successfully