mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
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:
parent
366841c755
commit
0531bf800b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user