Bug 1549949 Errors on launching activities are causing timeouts r=perftest-reviewers,davehunt

Differential Revision: https://phabricator.services.mozilla.com/D30343

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Florin Strugariu 2019-05-10 09:32:00 +00:00
Родитель e9271044cf
Коммит 9d23aa6093
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -906,6 +906,11 @@ class RaptorAndroid(Raptor):
url='about:blank',
e10s=True,
fail_if_running=False)
# Check if app has started and it's running
if not self.device.process_exist(self.config['binary']):
raise Exception("Error launching %s. App did not start properly!" %
self.config['binary'])
except Exception as e:
self.log.error("Exception launching %s" % self.config['binary'])
self.log.error("Exception: %s %s" % (type(e).__name__, str(e)))