Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py

Issue 776883004: Basic android app implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More review comments. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py
diff --git a/tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py b/tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py
index 2e6637433acbb473f24e8ba6d73474f9b2b5af51..c103026f2facddbbb241276a5cf9b2b1bd9b81f8 100644
--- a/tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py
+++ b/tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py
@@ -17,8 +17,13 @@ class AndroidPlatformBackendTest(unittest.TestCase):
['perf_control', 'thermal_throttle', 'adb_commands', 'certutils',
'adb_install_cert'])
+ # Skip _FixPossibleAdbInstability by setting psutil to None.
+ self._actual_ps_util = android_platform_backend.psutil
+ android_platform_backend.psutil = None
+
def tearDown(self):
self._stubs.Restore()
+ android_platform_backend.psutil = self._actual_ps_util
@benchmark.Disabled('chromeos')
def testGetCpuStats(self):

Powered by Google App Engine
This is Rietveld 408576698