Title: [214896] trunk/Tools
Revision
214896
Author
[email protected]
Date
2017-04-04 14:08:43 -0700 (Tue, 04 Apr 2017)

Log Message

Increase timeouts for simulator testing

Unreviewed infrastructure fix.

* Scripts/webkitpy/port/simulator_process.py:
(SimulatorProcess._start): Increase timeout from 3 to 6 seconds.
* Scripts/webkitpy/xcode/simulated_device.py:
(SimulatedDevice.install_app): Increase timeout from 1 to 3 seconds.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (214895 => 214896)


--- trunk/Tools/ChangeLog	2017-04-04 20:09:55 UTC (rev 214895)
+++ trunk/Tools/ChangeLog	2017-04-04 21:08:43 UTC (rev 214896)
@@ -1,3 +1,14 @@
+2017-04-04  Jonathan Bedard  <[email protected]>
+
+        Increase timeouts for simulator testing
+
+        Unreviewed infrastructure fix.
+
+        * Scripts/webkitpy/port/simulator_process.py:
+        (SimulatorProcess._start): Increase timeout from 3 to 6 seconds.
+        * Scripts/webkitpy/xcode/simulated_device.py:
+        (SimulatedDevice.install_app): Increase timeout from 1 to 3 seconds.
+
 2017-04-04  Tim Horton  <[email protected]>
 
         [Mac] -[WKWebView findMatchesForString:relativeToMatch:findOptions:maxResults:resultCollector:] invokes the resultCollector with didWrap = NO even when it wraps

Modified: trunk/Tools/Scripts/webkitpy/port/simulator_process.py (214895 => 214896)


--- trunk/Tools/Scripts/webkitpy/port/simulator_process.py	2017-04-04 20:09:55 UTC (rev 214895)
+++ trunk/Tools/Scripts/webkitpy/port/simulator_process.py	2017-04-04 21:08:43 UTC (rev 214896)
@@ -96,7 +96,7 @@
             assert signum == signal.SIGALRM
             raise Exception('Timed out waiting for process to connect at port {}'.format(self._target_host.listening_port()))
         signal.signal(signal.SIGALRM, handler)
-        signal.alarm(3)  # In seconds
+        signal.alarm(6)  # In seconds
 
         stdin = None
         stdout = None

Modified: trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py (214895 => 214896)


--- trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py	2017-04-04 20:09:55 UTC (rev 214895)
+++ trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py	2017-04-04 21:08:43 UTC (rev 214896)
@@ -150,7 +150,7 @@
                     'Print CFBundleIdentifier',
                     self._host.filesystem.join(app_path, 'Info.plist'),
                 ]).rstrip()
-                self._host.executive.kill_process(self.launch_app(bundle_id, [], env=env, timeout=1))
+                self._host.executive.kill_process(self.launch_app(bundle_id, [], env=env, timeout=3))
                 return True
             except RuntimeError:
                 pass
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to