Title: [272093] trunk/Tools
- Revision
- 272093
- Author
- [email protected]
- Date
- 2021-01-29 17:52:34 -0800 (Fri, 29 Jan 2021)
Log Message
[webkitpy] Thread.isAlive was renamed to Thread.is_alive
https://bugs.webkit.org/show_bug.cgi?id=221160
Reviewed by Jonathan Bedard.
Python 2.6 added threading.Thread.is_alive which aliased isAlive. In Python 3.x only
threading.Thread.is_alive is available so use that instead.
* Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
(Worker._run_test_in_another_thread):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (272092 => 272093)
--- trunk/Tools/ChangeLog 2021-01-30 01:25:59 UTC (rev 272092)
+++ trunk/Tools/ChangeLog 2021-01-30 01:52:34 UTC (rev 272093)
@@ -1,3 +1,16 @@
+2021-01-29 Don Olmstead <[email protected]>
+
+ [webkitpy] Thread.isAlive was renamed to Thread.is_alive
+ https://bugs.webkit.org/show_bug.cgi?id=221160
+
+ Reviewed by Jonathan Bedard.
+
+ Python 2.6 added threading.Thread.is_alive which aliased isAlive. In Python 3.x only
+ threading.Thread.is_alive is available so use that instead.
+
+ * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
+ (Worker._run_test_in_another_thread):
+
2021-01-29 Myles C. Maxfield <[email protected]>
Upgrade motionmark1.1.plan to r272044
Modified: trunk/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py (272092 => 272093)
--- trunk/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py 2021-01-30 01:25:59 UTC (rev 272092)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py 2021-01-30 01:52:34 UTC (rev 272093)
@@ -431,7 +431,7 @@
thread.join(thread_timeout_sec)
result = thread.result
failures = []
- if thread.isAlive():
+ if thread.is_alive():
# If join() returned with the thread still running, the
# DumpRenderTree is completely hung and there's nothing
# more we can do with it. We have to kill all the
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes