Title: [227999] trunk/Tools
Revision
227999
Author
carlo...@webkit.org
Date
2018-02-02 00:47:38 -0800 (Fri, 02 Feb 2018)

Log Message

Unreviewed. Try to avoid webdriver tests step timing out in the bots.

This is another speculative workaround. Carlos Lopez suggested to use os._exit() instead of sys.exit() as a
workaround for a bug in python2.7 when using multiprocess module.

* Scripts/run-webdriver-tests:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (227998 => 227999)


--- trunk/Tools/ChangeLog	2018-02-02 07:30:30 UTC (rev 227998)
+++ trunk/Tools/ChangeLog	2018-02-02 08:47:38 UTC (rev 227999)
@@ -1,3 +1,12 @@
+2018-02-02  Carlos Garcia Campos  <cgar...@igalia.com>
+
+        Unreviewed. Try to avoid webdriver tests step timing out in the bots.
+
+        This is another speculative workaround. Carlos Lopez suggested to use os._exit() instead of sys.exit() as a
+        workaround for a bug in python2.7 when using multiprocess module.
+
+        * Scripts/run-webdriver-tests:
+
 2018-02-01  Youenn Fablet  <you...@apple.com>
 
         Delay service worker process creation until actually needed by SWServer

Modified: trunk/Tools/Scripts/run-webdriver-tests (227998 => 227999)


--- trunk/Tools/Scripts/run-webdriver-tests	2018-02-02 07:30:30 UTC (rev 227998)
+++ trunk/Tools/Scripts/run-webdriver-tests	2018-02-02 08:47:38 UTC (rev 227999)
@@ -24,6 +24,7 @@
 
 import logging
 import optparse
+import os
 import sys
 
 from webkitpy.common.host import Host
@@ -61,7 +62,7 @@
     port = Host().port_factory.get(options.platform, options)
 except NotImplementedError, e:
     _log.error(str(e))
-    sys.exit(-1)
+    os._exit(-1)
 
 if port.name() in ['gtk', 'wpe']:
     import os
@@ -82,5 +83,5 @@
 if options.json_output is not None:
     runner.dump_results_to_json_file(options.json_output)
 
-sys.exit(retval)
+os._exit(retval)
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to