Title: [280412] trunk/Tools
Revision
280412
Author
jbed...@apple.com
Date
2021-07-28 18:48:45 -0700 (Wed, 28 Jul 2021)

Log Message

[webkitcorepy] Fix race condition in TaskPool unittests (follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=227455
<rdar://problem/79873003>

Reviewed by Dewei Zhu.

* Scripts/libraries/webkitcorepy/webkitcorepy/tests/task_pool_unittest.py:
(TaskPoolUnittest.test_invalid_shutdown): Deleted.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (280411 => 280412)


--- trunk/Tools/ChangeLog	2021-07-29 00:09:39 UTC (rev 280411)
+++ trunk/Tools/ChangeLog	2021-07-29 01:48:45 UTC (rev 280412)
@@ -1,5 +1,16 @@
 2021-07-28  Jonathan Bedard  <jbed...@apple.com>
 
+        [webkitcorepy] Fix race condition in TaskPool unittests (follow-up fix)
+        https://bugs.webkit.org/show_bug.cgi?id=227455
+        <rdar://problem/79873003>
+
+        Reviewed by Dewei Zhu.
+
+        * Scripts/libraries/webkitcorepy/webkitcorepy/tests/task_pool_unittest.py:
+        (TaskPoolUnittest.test_invalid_shutdown): Deleted.
+
+2021-07-28  Jonathan Bedard  <jbed...@apple.com>
+
         [ews-build.webkit.org] Verify GitHub integrity in commit queue
         https://bugs.webkit.org/show_bug.cgi?id=228563
         <rdar://problem/81230685>

Modified: trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/task_pool_unittest.py (280411 => 280412)


--- trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/task_pool_unittest.py	2021-07-29 00:09:39 UTC (rev 280411)
+++ trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/task_pool_unittest.py	2021-07-29 01:48:45 UTC (rev 280412)
@@ -168,9 +168,3 @@
             sorted(captured.webkitcorepy.log.getvalue().splitlines()),
             ['worker/{} Teardown argument'.format(x) for x in range(4)],
         )
-
-    def test_invalid_shutdown(self):
-        with OutputCapture():
-            with self.assertRaises(TaskPool.Exception):
-                with TaskPool(workers=1, teardown=teardown, grace_period=1, force_fork=True) as pool:
-                    pool.do(wait, 5)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to