Update app.py
The Problem : Selenium grid 3.0.1 marking the node as down Solution: Node config should be changed
This commit is contained in:
parent
151e3a8d6f
commit
bedf77e83d
|
@ -153,7 +153,8 @@ def create_node_config(avd_name: str, browser_name: str, appium_host: str, appiu
|
||||||
'register': True,
|
'register': True,
|
||||||
'registerCycle': 5000,
|
'registerCycle': 5000,
|
||||||
'hubHost': selenium_host,
|
'hubHost': selenium_host,
|
||||||
'hubPort': selenium_port
|
'hubPort': selenium_port,
|
||||||
|
'unregisterIfStillDownAfter': 120000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logger.info('Appium node config: {config}'.format(config=config))
|
logger.info('Appium node config: {config}'.format(config=config))
|
||||||
|
|
Loading…
Reference in a new issue