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

Changeset 281658 in webkit


Ignore:
Timestamp:
Aug 26, 2021, 2:59:19 PM (5 years ago)
Author:
Patrick Angle
Message:

[ EWS Catalina ] http/tests/websocket/tests/hybi/inspector/send-and-recieve-debugger.html is flaky timing out / failing
https://bugs.webkit.org/show_bug.cgi?id=229459

Reviewed by Devin Rousso.

Increase timings slightly to widen the window during which we receive messages while paused in the debugger and
also delay the echo server's response further.

  • http/tests/websocket/tests/hybi/inspector/echo-delayed_wsh.py:

(web_socket_transfer_data):

  • http/tests/websocket/tests/hybi/inspector/send-and-recieve-debugger.html:
  • platform/mac/TestExpectations:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r281657 r281658  
     12021-08-26  Patrick Angle  <pangle@apple.com>
     2
     3        [ EWS Catalina ] http/tests/websocket/tests/hybi/inspector/send-and-recieve-debugger.html is flaky timing out / failing
     4        https://bugs.webkit.org/show_bug.cgi?id=229459
     5
     6        Reviewed by Devin Rousso.
     7
     8        Increase timings slightly to widen the window during which we receive messages while paused in the debugger and
     9        also delay the echo server's response further.
     10
     11        * http/tests/websocket/tests/hybi/inspector/echo-delayed_wsh.py:
     12        (web_socket_transfer_data):
     13        * http/tests/websocket/tests/hybi/inspector/send-and-recieve-debugger.html:
     14        * platform/mac/TestExpectations:
     15
    1162021-08-26  Robert Jenner  <Jenner@apple.com>
    217
  • trunk/LayoutTests/http/tests/websocket/tests/hybi/inspector/echo-delayed_wsh.py

    r281323 r281658  
    1010    # Echo message back
    1111    message = msgutil.receive_message(request)
    12     sleep(0.1)
     12    sleep(0.25)
    1313    msgutil.send_message(request, message)
  • trunk/LayoutTests/http/tests/websocket/tests/hybi/inspector/send-and-recieve-debugger.html

    r281323 r281658  
    5151                        InspectorTest.evaluateInPage(`debugger`);
    5252
    53                         // The WebSocket echos with a 100ms delay, so wait a bit longer than that before resuming to
     53                        // The WebSocket echos with a 250ms delay, so wait a bit longer than that before resuming to
    5454                        // ensure we receive the message while still paused.
    5555                        setTimeout(() => {
    5656                                InspectorTest.log("Resuming script execution.")
    5757                                WI.debuggerManager.resume().catch(reject);
    58                         }, 200);
     58                        }, 500);
    5959                    } else if (frameAddedCount === 2) {
    6060
  • trunk/LayoutTests/platform/mac/TestExpectations

    r281626 r281658  
    656656
    657657webkit.org/b/89153 http/tests/websocket/tests/hybi/workers/close.html [ Pass Failure ]
    658 
    659 webkit.org/b/229459 [ Debug ] http/tests/websocket/tests/hybi/inspector/send-and-recieve-debugger.html [ Pass Failure Timeout ]
    660658
    661659# <rdar://problem/16696298>
Note: See TracChangeset for help on using the changeset viewer.