Bug 1052433 - Remove the device reboot in B2GDeviceRunner. r=ahalberstadt
authorDave Hunt <dhunt@mozilla.com>
Wed, 27 Aug 2014 10:32:00 -0400
changeset 202070 82acd6f569ec652a09b390c4a82a761fcab3b91e
parent 202069 87f9cc55a56917349f791255dbd91dbf5a9be34f
child 202071 47f8093426c42688e3bab8e1cdedbb106e48e70b
push id27390
push usercbook@mozilla.com
push dateThu, 28 Aug 2014 11:07:34 +0000
treeherdermozilla-central@2a15dc07ddaa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahalberstadt
bugs1052433
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1052433 - Remove the device reboot in B2GDeviceRunner. r=ahalberstadt
testing/mozbase/mozrunner/mozrunner/base/device.py
--- a/testing/mozbase/mozrunner/mozrunner/base/device.py
+++ b/testing/mozbase/mozrunner/mozrunner/base/device.py
@@ -67,19 +67,16 @@ class DeviceRunner(BaseRunner):
         self.device.connect()
         self.device.setup_profile(self.profile)
 
         # TODO: this doesn't work well when the device is running but dropped
         # wifi for some reason. It would be good to probe the state of the device
         # to see if we have the homescreen running, or something, before waiting here
         self.device.wait_for_net()
 
-        if not isinstance(self.device, Emulator):
-            self.device.reboot()
-
         if not self.device.wait_for_net():
             raise Exception("Network did not come up when starting device")
         self.app_ctx.stop_application()
 
         # In this case we need to pass in env as part of the command.
         # Make this empty so BaseRunner doesn't pass anything into the
         # process class.
         self._env = self.env