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

Unified Diff: build/android/pylib/single_test_runner.py

Issue 10781032: restarting adb server before each testing start will cause conflict for multiple emulators (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months 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: build/android/pylib/single_test_runner.py
diff --git a/build/android/pylib/single_test_runner.py b/build/android/pylib/single_test_runner.py
index 359ef46096b027e890aa55c66694b5c5645e9bac..11e06f3863503ba98ed209a485665dc4ebd6323e 100644
--- a/build/android/pylib/single_test_runner.py
+++ b/build/android/pylib/single_test_runner.py
@@ -316,10 +316,6 @@ class SingleTestRunner(BaseTestRunner):
"""Sets up necessary test enviroment for the test suite."""
super(SingleTestRunner, self).SetUp()
self.adb.ClearApplicationState(constants.CHROME_PACKAGE)
- if self._running_on_emulator:
- # Sometimes adb server lost connection to the emulator, which will break
- # the test, so restart the adb server before the test.
- self.adb.RestartAdbServer()
if self.test_package.performance_test:
self.adb.SetupPerformanceTest()
if self.dump_debug_info:

Powered by Google App Engine
This is Rietveld 408576698