-
Notifications
You must be signed in to change notification settings - Fork 573
Closed
Description
appium/webdriver/appium_service.py
please make timeout for self._process.communicate(timeout=5)
def stop(self, timeout=5) -> bool:
"""Stops Appium service if it is running.
The call will be ignored if the service is not running
or has been already stopped.
Returns:
`True` if the service was running before being stopped
"""
is_terminated = False
if self.is_running:
assert self._process
self._process.terminate()
self._process.communicate(timeout=timeout)
is_terminated = True
self._process = None
self._cmd = None
return is_terminated
as a method param
Metadata
Metadata
Assignees
Labels
No labels