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) |