Bug 1436262 - Improve efficiency of detection of end of test Android test runs; r=jmaher

Once a test summary is seen, check for application completion more often,
so that we can complete the test run sooner.
This commit is contained in:
Geoff Brown 2018-02-07 13:33:44 -07:00
Родитель 366841c755
Коммит 0531bf800b
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -415,6 +415,8 @@ class RemoteAutomation(Automation):
slowLog = True
if hasOutput:
noOutputTimer = 0
if self.counts and 'pass' in self.counts and self.counts['pass'] > 0:
interval = 0.5
time.sleep(interval)
timer += interval
noOutputTimer += interval