1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

workloads: Sets requires_network attribute for workloads

Both speedometer and aitutu require internet to function however this
attribute was missing from the workloads.
This commit is contained in:
Marc Bonnici 2019-07-05 16:09:28 +01:00 committed by setrofim
parent 463840d2b7
commit c092128e94
2 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,8 @@ class Aitutu(ApkUiautoWorkload):
Known working APK version: 1.0.3
'''
requires_network = True
def __init__(self, target, **kwargs):
super(Aitutu, self).__init__(target, **kwargs)
self.gui.timeout = 1200000

View File

@ -43,6 +43,8 @@ class Speedometer(UiautoWorkload):
''')
]
requires_network = True
def __init__(self, target, **kwargs):
super(Speedometer, self).__init__(target, **kwargs)
self.gui.timeout = 1500