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

Unified Diff: build/android/pylib/host_driven/python_test_sharder.py

Issue 18915002: Kill forwarder2 host daemon in python_test_sharder.py during setup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/host_driven/python_test_sharder.py
diff --git a/build/android/pylib/host_driven/python_test_sharder.py b/build/android/pylib/host_driven/python_test_sharder.py
index 4a67ddf7106abf9e39d0a8cb6b66d39f33056f7b..cc746878ef3ba6acb7476b0dd28cc33723a353a7 100644
--- a/build/android/pylib/host_driven/python_test_sharder.py
+++ b/build/android/pylib/host_driven/python_test_sharder.py
@@ -10,6 +10,7 @@ import multiprocessing
from pylib.base import base_test_result
from pylib.base import sharded_tests_queue
+from pylib.forwarder import Forwarder
from python_test_caller import CallPythonTest
@@ -120,6 +121,9 @@ class PythonTestSharder(object):
logging.warning('*' * 80)
final_results = base_test_result.TestRunResults()
tests_to_run = self.tests
+
+ Forwarder.KillHost()
+
for retry in xrange(self.retries):
logging.warning('Try %d of %d', retry + 1, self.retries)
self._SetupSharding(self.tests)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698