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

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

Issue 106533002: Don't unmap ports in host_driven/test_case.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/test_case.py
diff --git a/build/android/pylib/host_driven/test_case.py b/build/android/pylib/host_driven/test_case.py
index 20a8fd14bae500474bca608af4442c80dcb9aae4..8ff94083a395f7595357c96029838a39a99c74d9 100644
--- a/build/android/pylib/host_driven/test_case.py
+++ b/build/android/pylib/host_driven/test_case.py
@@ -73,8 +73,7 @@ class HostDrivenTestCase(object):
self.ports_to_forward = ports_to_forward
def TearDown(self):
- if self.ports_to_forward:
- forwarder.Forwarder.UnmapAllDevicePorts(self.adb)
+ pass
# TODO(craigdh): Remove GetOutDir once references have been removed
# downstream.
@@ -92,8 +91,6 @@ class HostDrivenTestCase(object):
'--End Full HostForwarder log\n' % forwarder.Forwarder.GetHostLog())
def __StartForwarder(self):
- # Unmap any left over from previous test.
- forwarder.Forwarder.UnmapAllDevicePorts(self.adb)
logging.warning('Forwarding %s %s', self.ports_to_forward,
self.has_forwarded_ports)
if self.ports_to_forward and not self.has_forwarded_ports:
« 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