Title: [214417] trunk/Tools
Revision
214417
Author
[email protected]
Date
2017-03-27 10:21:22 -0700 (Mon, 27 Mar 2017)

Log Message

REGRESSION: Failing to iterate over Simulator.managed_devices map
<rdar://problem/31274476>

Unreviewed infrastructure fix.

* Scripts/webkitpy/port/ios_simulator.py:
(IOSSimulatorPort._create_devices): Iterate through managed_devices by worker number.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (214416 => 214417)


--- trunk/Tools/ChangeLog	2017-03-27 16:39:47 UTC (rev 214416)
+++ trunk/Tools/ChangeLog	2017-03-27 17:21:22 UTC (rev 214417)
@@ -1,3 +1,13 @@
+2017-03-27  Jonathan Bedard  <[email protected]>
+
+        REGRESSION: Failing to iterate over Simulator.managed_devices map
+        <rdar://problem/31274476>
+
+        Unreviewed infrastructure fix.
+
+        * Scripts/webkitpy/port/ios_simulator.py:
+        (IOSSimulatorPort._create_devices): Iterate through managed_devices by worker number.
+
 2017-03-27  Alex Christensen  <[email protected]>
 
         Make WebSockets work in network process

Modified: trunk/Tools/Scripts/webkitpy/port/ios_simulator.py (214416 => 214417)


--- trunk/Tools/Scripts/webkitpy/port/ios_simulator.py	2017-03-27 16:39:47 UTC (rev 214416)
+++ trunk/Tools/Scripts/webkitpy/port/ios_simulator.py	2017-03-27 17:21:22 UTC (rev 214417)
@@ -242,8 +242,8 @@
             Simulator.wait_until_device_is_booted(Simulator.managed_devices[i].udid)
 
         self._device_map = {}
-        for id, platform_device in Simulator.managed_devices:
-            self._device_map[id] = Device(platform_device)
+        for i in xrange(self.child_processes()):
+            self._device_map[i] = Device(Simulator.managed_devices[i])
 
     def _quit_ios_simulator(self):
         self._device_map = {}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to