Changeset 236579 in webkit
- Timestamp:
- Sep 27, 2018, 5:50:28 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r236565 r236579 1 2018-09-27 Ryan Haddad <ryanhaddad@apple.com> 2 3 Increase the timeout for iOS Simulator data migration 4 https://bugs.webkit.org/show_bug.cgi?id=190059 5 6 Reviewed by Aakash Jain. 7 8 3 minutes isn't always enough time for the data migrator to complete 9 when booting up multiple iOS Simulators. Change the timeout to 10 minutes. 10 11 * Scripts/webkitpy/xcode/simulated_device.py: 12 (SimulatedDeviceManager): Create a constant for the default timeout. 13 (SimulatedDeviceManager.initialize_devices): Use new constant. 14 (SimulatedDeviceManager.swap): Ditto. 15 (SimulatedDeviceManager.wait_until_data_migration_is_done): Ditto. 16 1 17 2018-09-27 Alex Christensen <achristensen@webkit.org> 2 18 -
trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py
r231452 r236579 62 62 INITIALIZED_DEVICES = None 63 63 64 SIMULATOR_BOOT_TIMEOUT = 600 65 64 66 # FIXME: Simulators should only take up 2GB, but because of <rdar://problem/39393590> something in the OS thinks they're taking closer to 6GB 65 67 MEMORY_ESTIMATE_PER_SIMULATOR_INSTANCE = 6 * (1024 ** 3) # 6GB a simulator. … … 315 317 316 318 @staticmethod 317 def initialize_devices(requests, host=SystemHost(), name_base='Managed', simulator_ui=True, timeout= 180, **kwargs):319 def initialize_devices(requests, host=SystemHost(), name_base='Managed', simulator_ui=True, timeout=SIMULATOR_BOOT_TIMEOUT, **kwargs): 318 320 if SimulatedDeviceManager.INITIALIZED_DEVICES is not None: 319 321 return SimulatedDeviceManager.INITIALIZED_DEVICES … … 396 398 397 399 @staticmethod 398 def swap(device, request, host=SystemHost(), name_base='Managed', timeout= 180):400 def swap(device, request, host=SystemHost(), name_base='Managed', timeout=SIMULATOR_BOOT_TIMEOUT): 399 401 if SimulatedDeviceManager.INITIALIZED_DEVICES is None: 400 402 raise RuntimeError('Cannot swap when there are no initialized devices') … … 420 422 421 423 @staticmethod 422 def wait_until_data_migration_is_done(host, timeout= 180):424 def wait_until_data_migration_is_done(host, timeout=SIMULATOR_BOOT_TIMEOUT): 423 425 # The existence of a datamigrator process means that simulators are still booting. 424 426 deadline = time.time() + timeout
Note:
See TracChangeset
for help on using the changeset viewer.