Title: [278250] trunk/Tools
Revision
278250
Author
[email protected]
Date
2021-05-29 23:13:30 -0700 (Sat, 29 May 2021)

Log Message

[webkitpy] Add a delay between successive iOS simulator boots
https://bugs.webkit.org/show_bug.cgi?id=226376

Reviewed by Darin Adler.

In certain configurations, rapidly attempting to boot multiple
iOS simulators can cause them to fail to boot. Add a 10 second
delay to ensure that each one has a chance to initialize before
moving to the next one.

* Scripts/webkitpy/xcode/simulated_device.py:
(SimulatedDeviceManager._boot_device):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (278249 => 278250)


--- trunk/Tools/ChangeLog	2021-05-30 05:35:58 UTC (rev 278249)
+++ trunk/Tools/ChangeLog	2021-05-30 06:13:30 UTC (rev 278250)
@@ -1,3 +1,18 @@
+2021-05-29  Ryan Haddad  <[email protected]>
+
+        [webkitpy] Add a delay between successive iOS simulator boots
+        https://bugs.webkit.org/show_bug.cgi?id=226376
+
+        Reviewed by Darin Adler.
+
+        In certain configurations, rapidly attempting to boot multiple
+        iOS simulators can cause them to fail to boot. Add a 10 second
+        delay to ensure that each one has a chance to initialize before
+        moving to the next one.
+
+        * Scripts/webkitpy/xcode/simulated_device.py:
+        (SimulatedDeviceManager._boot_device):
+
 2021-05-29  Chris Dumez  <[email protected]>
 
         Adopt clang thread safety annotations in WTF::DataMutex

Modified: trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py (278249 => 278250)


--- trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py	2021-05-30 05:35:58 UTC (rev 278249)
+++ trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py	2021-05-30 06:13:30 UTC (rev 278250)
@@ -357,6 +357,8 @@
         device.platform_device.booted_by_script = True
         host.executive.run_command([SimulatedDeviceManager.xcrun, 'simctl', 'boot', device.udid])
         SimulatedDeviceManager.INITIALIZED_DEVICES.append(device)
+        # FIXME: Remove this delay once rdar://77234240 is resolved.
+        time.sleep(10)
 
     @staticmethod
     def device_count_for_type(device_type, host=None, use_booted_simulator=True, **kwargs):
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to