summaryrefslogtreecommitdiffstats
path: root/build/android/pylib/host_driven
diff options
context:
space:
mode:
authorpliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-19 13:30:16 +0000
committerpliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-19 13:30:16 +0000
commit3298f0c11e2f3f6146962e7485a64c716b47582e (patch)
treed2455d79ece8ebf0792a33d7b53a80ba3709bad1 /build/android/pylib/host_driven
parent42241debec76cd9869d841271ee55fa8554cb257 (diff)
downloadchromium_src-3298f0c11e2f3f6146962e7485a64c716b47582e.zip
chromium_src-3298f0c11e2f3f6146962e7485a64c716b47582e.tar.gz
chromium_src-3298f0c11e2f3f6146962e7485a64c716b47582e.tar.bz2
Reland r212020: Move Python setup/tear down logic into Forwarder ...
Forwarder used to be a pain to setup/tear down across all the various harnesses. This CL should hopefully solve these issues by hiding these implementation details. The host daemon is now killed once the first time that the Forwarder class is used and the daemon running on the devices is also killed the first time a port is forwarded for a specific device. TBR=bulach@chromium.org BUG=242846 Review URL: https://codereview.chromium.org/19550004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212582 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/pylib/host_driven')
-rw-r--r--build/android/pylib/host_driven/python_test_sharder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/android/pylib/host_driven/python_test_sharder.py b/build/android/pylib/host_driven/python_test_sharder.py
index cc74687..7ea3f6c 100644
--- a/build/android/pylib/host_driven/python_test_sharder.py
+++ b/build/android/pylib/host_driven/python_test_sharder.py
@@ -122,7 +122,7 @@ class PythonTestSharder(object):
final_results = base_test_result.TestRunResults()
tests_to_run = self.tests
- Forwarder.KillHost()
+ Forwarder.UseMultiprocessing()
for retry in xrange(self.retries):
logging.warning('Try %d of %d', retry + 1, self.retries)