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
parent 366841c755
commit 0531bf800b

View File

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