[webkit-changes] [WebKit/WebKit] a8ab43: [ New Test ] (250315 at main): [ macOS Debug ] TestWT...

Sihui noreply at github.com
Wed Oct 5 01:26:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a8ab43132b0d66e1dd1fc9d519d22710fa897962
      https://github.com/WebKit/WebKit/commit/a8ab43132b0d66e1dd1fc9d519d22710fa897962
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WTF/SuspendableWorkQueue.cpp

  Log Message:
  -----------
  [ New Test ] (250315 at main): [ macOS Debug ] TestWTF.WTF_SuspendableWorkQueue.Suspend is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=245793
<rdar://100517874>

Reviewed by Chris Dumez.

We used to unset suspended flag when task runs, but all tasks were submitted before suspend(), so they may complete
before suspension and suspended flag was not updated. To ensure the flag is updated, now we schedule some tasks after
suspend().

* Tools/TestWebKitAPI/Tests/WTF/SuspendableWorkQueue.cpp:
(TestWebKitAPI::TEST):

Canonical link: https://commits.webkit.org/255161@main




More information about the webkit-changes mailing list