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:
parent
463840d2b7
commit
c092128e94
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user