From 6a4990161c5acc5fe1fe1a792d0051485095cea1 Mon Sep 17 00:00:00 2001 From: Mikhail Atuchin Date: Fri, 25 Oct 2024 15:41:15 +0400 Subject: [PATCH] Minor changes --- tools/perf/components/android_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/components/android_tools.py b/tools/perf/components/android_tools.py index 7c0f34192cb7..a0ba4f02d94a 100644 --- a/tools/perf/components/android_tools.py +++ b/tools/perf/components/android_tools.py @@ -6,8 +6,8 @@ import os import re import logging - import time + from typing import List, Optional from components.perf_test_utils import GetProcessOutput @@ -31,7 +31,7 @@ def SetupAndroidDevice() -> None: ], check=True) if not RunFromRoot(f'sh {tmp_file}'): - raise RuntimeError('Failed to setup root on the device') + raise RuntimeError('Failed to setup the device: setup_android_device.sh') RunFromRoot('killall adbd') # Restart adbd on the device to apply the changes time.sleep(2)