REGRESSION: Simulators failing to install after launch_app times out
authorjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Apr 2017 15:58:28 +0000 (15:58 +0000)
committerjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Apr 2017 15:58:28 +0000 (15:58 +0000)
<rdar://problem/31478107>

Unreviewed infrastructure fix.

* Scripts/webkitpy/xcode/simulated_device.py:
(SimulatedDevice.launch_app._install_timeout): Raise RuntimeError, not Exception.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@215039 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/xcode/simulated_device.py

index 1964ad3..08f06ce 100644 (file)
@@ -1,3 +1,13 @@
+2017-04-06  Jonathan Bedard  <jbedard@apple.com>
+
+        REGRESSION: Simulators failing to install after launch_app times out
+        <rdar://problem/31478107>
+
+        Unreviewed infrastructure fix.
+
+        * Scripts/webkitpy/xcode/simulated_device.py:
+        (SimulatedDevice.launch_app._install_timeout): Raise RuntimeError, not Exception.
+
 2017-04-05  Joseph Pecoraro  <pecoraro@apple.com>
 
         test262: module test progressions need updated expectations (@@iterator changes)
index 34d79bf..6a846a9 100644 (file)
@@ -172,7 +172,7 @@ class SimulatedDevice(object):
 
         def _install_timeout(signum, frame):
             assert signum == signal.SIGALRM
-            raise Exception('Timed out waiting for process to open {} on {}'.format(bundle_id, self.udid))
+            raise RuntimeError('Timed out waiting for process to open {} on {}'.format(bundle_id, self.udid))
 
         output = None
         signal.signal(signal.SIGALRM, _install_timeout)