Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: net/data/websocket/protocol-test_wsh.py

Issue 410383003: Make Pepper WebSocket UtilityGetProtocol test less flaky by making the wsh wait for close (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/websocket/protocol-test_wsh.py
diff --git a/net/data/websocket/protocol-test_wsh.py b/net/data/websocket/protocol-test_wsh.py
index 378b2e3cf63b470f98fb70dd455c010d9ad851aa..4dfdb177490ce941ee60f2f0ad8f0721259998f9 100644
--- a/net/data/websocket/protocol-test_wsh.py
+++ b/net/data/websocket/protocol-test_wsh.py
@@ -17,3 +17,5 @@ def web_socket_do_extra_handshake(request):
def web_socket_transfer_data(request):
msgutil.send_message(request, request.ws_protocol)
+ # Wait for a close message.
+ unused = request.ws_stream.receive_message()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698