Commit 454927d8 authored by tonyg's avatar tonyg Committed by Commit bot

[Telemetry] Remove adb restart hack.

It causes problems when running multiple Telemetries in parallel in
certain environments and also causes problems with certain devices.

BUG=

Review URL: https://codereview.chromium.org/499073005

Cr-Commit-Position: refs/heads/master@{#292009}
parent d604aea8
......@@ -252,13 +252,6 @@ Waiting for device...
except (psutil.NoSuchProcess, psutil.AccessDenied):
logging.warn('Failed to set adb process CPU affinity')
if not os.environ.get('BUILDBOT_BUILDERNAME'):
# Killing adbd before running tests has proven to make them less likely to
# flake out during the test. We skip this if Telemetry is running under a
# buildbot because build/android/test_runner.py wrapper already took care
# of it before starting the shards.
adb.RestartAdbdOnDevice()
packages = adb.RunShellCommand('pm list packages')
possible_browsers = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment