[Webkit-unassigned] [Bug 195161] Flaky API Test: TestWTF.WTF_SynchronizedFixedQueue.ProduceOnly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 26 23:53:08 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=195161

Fujii Hironori <Hironori.Fujii at sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.webkit.org/sho
                   |                            |w_bug.cgi?id=176056

--- Comment #5 from Fujii Hironori <Hironori.Fujii at sony.com> ---
This dead lock can be reliably reproducible by increasing sleep time of enqueueLower.

diff --git a/Tools/TestWebKitAPI/Tests/WTF/SynchronizedFixedQueue.cpp b/Tools/TestWebKitAPI/Tests/WTF/SynchronizedFixedQueue.cpp
index f7a48db75f63..7cebd9fecaff 100644
--- a/Tools/TestWebKitAPI/Tests/WTF/SynchronizedFixedQueue.cpp
+++ b/Tools/TestWebKitAPI/Tests/WTF/SynchronizedFixedQueue.cpp
@@ -191,7 +191,7 @@ TEST(WTF_SynchronizedFixedQueue, ProduceOnly)
         converter.enqueueLower(item);
         ++count;

-        std::this_thread::sleep_for(std::chrono::milliseconds(1));
+        std::this_thread::sleep_for(std::chrono::milliseconds(100));
     }

     converter.stop();


192736 at main (bug#176056) was the previous attempt to fix the dead lock.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230427/76220100/attachment.htm>


More information about the webkit-unassigned mailing list