Skip to content

Commit be3f5c0

Browse files
vchimevvchimev
vchimev
authored and
vchimev
committed
Update on the perf tests
1 parent 44f4735 commit be3f5c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

core/device/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ def is_running(device_id, app_id):
358358
def wait_until_app_is_running(device_id, app_id, timeout=60):
359359
"""
360360
Wait until app is running.
361-
:param app_id: Bundle identifier (example: org.nativescript.TestApp)
362361
:param device_id: Device identifier.
362+
:param app_id: Bundle identifier (example: org.nativescript.TestApp)
363363
:param timeout: Timeout in seconds.
364364
"""
365365
end_time = time.time() + timeout

tests/perf/start_time.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def base_test(self, apk_name, app_id):
6767
Device.start_app(device_id=self.device_id, app_id=app_id)
6868

6969
time.sleep(10)
70+
Device.wait_until_app_is_running(device_id=self.device_id, app_id=app_id, timeout=10)
7071
start_time = Device.get_start_time(self.device_id, app_id=app_id)
7172

7273
tmp_csv_file_path = "./tmp-" + apk_name + self.csv_ext

0 commit comments

Comments
 (0)