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

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

  Log Message:
  -----------
  [ New Test ] (250315@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to