Bug 212818

Summary: [GLIB] http/tests/websocket/tests/hybi/send-object-tostring-check.html is flaky
Product: WebKit Reporter: Diego Pino <dpino>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Diego Pino 2020-06-05 06:00:19 PDT
The test is flaky some times (text failure or timeout)

Diff: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r262612%20(13971)/http/tests/websocket/tests/hybi/send-object-tostring-check-diff.txt

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/websocket/tests/hybi/send-object-tostring-check-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/websocket/tests/hybi/send-object-tostring-check-actual.txt
@@ -3,7 +3,7 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 PASS testObj.callCounter is 1
-FAIL closeEvent.wasClean should be true. Was false.
+PASS closeEvent.wasClean is true
 PASS successfullyParsed is true
 
 TEST COMPLETE

In the case above the test passed all the tests. The test baseline expects that the second test fails. Probably there's a timing threshold in the test that is making it to fail some times, or even time out.