Bug 826132 - Don't restart emulator on failure, r=ahal

This commit is contained in:
Jonathan Griffin 2013-01-03 10:44:07 -08:00
parent b68a6a833e
commit ffff3b8ade
2 changed files with 0 additions and 11 deletions

View File

@ -236,13 +236,6 @@ class Emulator(object):
online.add(m.group(1))
return (online, offline)
def restart(self, port):
if not self._emulator_launched:
return
self.close()
self.start()
return self.setup_port_forwarding(port)
def start_adb(self):
result = self._run_adb(['start-server'])
# We keep track of whether we've started adb or not, so we know

View File

@ -210,10 +210,6 @@ class Marionette(object):
self.session = None
self.window = None
self.client.close()
if self.emulator:
port = self.emulator.restart(self.local_port)
if port is not None:
self.port = self.client.port = port
raise TimeoutException(message='socket.timeout', status=ErrorCodes.TIMEOUT, stacktrace=None)
# Process any emulator commands that are sent from a script