⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 279345 in webkit


Ignore:
Timestamp:
Jun 28, 2021, 12:11:31 PM (5 years ago)
Author:
Jonathan Bedard
Message:

[webkitcorepy] Fix race condition in TaskPool unittests
​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): Increase worker load to 5 seconds.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r279340 r279345  
     12021-06-28  Jonathan Bedard  <jbedard@apple.com>
     2
     3        [webkitcorepy] Fix race condition in TaskPool unittests
     4        https://bugs.webkit.org/show_bug.cgi?id=227455
     5        <rdar://problem/79873003>
     6
     7        Reviewed by Dewei Zhu.
     8
     9        * Scripts/libraries/webkitcorepy/webkitcorepy/tests/task_pool_unittest.py:
     10        (TaskPoolUnittest.test_invalid_shutdown): Increase worker load to 5 seconds.
     11
    1122021-06-28  Alex Christensen  <achristensen@webkit.org>
    213
  • trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/task_pool_unittest.py

    r278380 r279345  
    174174            with self.assertRaises(TaskPool.Exception):
    175175                with TaskPool(workers=1, teardown=teardown, grace_period=1, force_fork=True) as pool:
    176                     pool.do(wait, 2)
     176                    pool.do(wait, 5)
Note: See TracChangeset for help on using the changeset viewer.