Kill forwarder2 host daemon in python_test_sharder.py during setup.

This is normally done at the shard level in shard.py but python_test_sharder.py
doesn't seem to use that code.

BUG=242846

Review URL: https://chromiumcodereview.appspot.com/18915002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211206 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
pliard@chromium.org 2013-07-11 20:42:29 +00:00
Родитель 8748740460
Коммит 145a27fabe
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

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