zebrunner / appium

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

Devices are not available after restart mcloud-grid #274

Closed dhreben closed 11 months ago

dhreben commented 11 months ago

Steps

  1. Restart mcloud-grid
  2. Open https://d.......................m/mcloud/grid/console

Actual result: Devices are not available after restart mcloud-grid

Existing nodes are not loaded by the mcloud-grid. We need to restart all devices in order for nodes to be registered

vdelendik commented 11 months ago

that's the root cause: https://github.com/zebrunner/appium/blob/a60fed7dc9a27c064ca42a1c57302f4f42d63836/files/mcloud/build/lib/grid-register.js#L107C22-L107C22

we have to find adequate solution to avoid hub overload

vdelendik commented 11 months ago

new appium deployed on demo stf. we restored original grid-register.js but increased register cycle interval to 10m. i.e. after restarting mcloud-grid devices will be reconnected in 10 minutes only. so huge interval organized as too often calls overload selenium grid.

dhreben commented 11 months ago

fixed