Bug 763527 - Attempt to resolve timeouts in B2G mochitests, a=test-only, DONTBUILD because NPOTB
authorJonathan Griffin <jgriffin@mozilla.com>
Mon, 18 Jun 2012 10:43:59 -0700
changeset 96981 515c5d751c5e2d729fa62d48a018cf8935353c2b
parent 96980 d3211f786f5fa6d57bd8d17746f426d310205a7e
child 96982 373e6f9264e62452b6f56f9cc3fbbacfb40c58a9
child 97746 1bd5becfe43be41ba096b86da55cd6a72bf09614
push id10801
push userryanvm@gmail.com
push dateTue, 19 Jun 2012 00:59:28 +0000
treeherdermozilla-inbound@50a969a82733 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only, DONTBUILD
bugs763527
milestone16.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 763527 - Attempt to resolve timeouts in B2G mochitests, a=test-only, DONTBUILD because NPOTB
build/mobile/b2gautomation.py
--- a/build/mobile/b2gautomation.py
+++ b/build/mobile/b2gautomation.py
@@ -140,17 +140,17 @@ class B2GRemoteAutomation(Automation):
                     serial = thisSerial
                     status = result.group(2)
 
         return (serial, status)
 
     def restartB2G(self):
         self._devicemanager.checkCmd(['shell', 'stop', 'b2g'])
         # Wait for a bit to make sure B2G has completely shut down.
-        time.sleep(5)
+        time.sleep(10)
         self._devicemanager.checkCmd(['shell', 'start', 'b2g'])
         if self._is_emulator:
             self.marionette.emulator.wait_for_port()
 
     def rebootDevice(self):
         # find device's current status and serial number
         serial, status = self.getDeviceStatus()
 
@@ -187,17 +187,17 @@ class B2GRemoteAutomation(Automation):
         if self._is_emulator:
             self.restartB2G()
         else:
             self.rebootDevice()
 
         # Infrequently, gecko comes up before networking does, so wait a little
         # bit to give the network time to become available.
         # XXX:  need a more robust mechanism for this
-        time.sleep(20)
+        time.sleep(40)
 
         # Set up port forwarding again for Marionette, since any that
         # existed previously got wiped out by the reboot.
         if not self._is_emulator:
             self._devicemanager.checkCmd(['forward',
                                           'tcp:%s' % self.marionette.port,
                                           'tcp:%s' % self.marionette.port])