Index: net/websockets/websocket_job_unittest.cc |
=================================================================== |
--- net/websockets/websocket_job_unittest.cc (revision 105385) |
+++ net/websockets/websocket_job_unittest.cc (working copy) |
@@ -622,6 +622,8 @@ |
TEST_F(WebSocketJobTest, DelayedCookies) { |
WebSocketJob::set_websocket_over_spdy_enabled(true); |
+ // Disable sending PING. |
+ SpdySession::set_enable_ping_based_connection_checking(false); |
GURL url("ws://example.com/demo"); |
GURL cookieUrl("http://example.com/demo"); |
CookieOptions cookie_options; |
@@ -866,6 +868,8 @@ |
void WebSocketJobTest::TestConnectBySpdy( |
SpdyOption spdy, ThrottlingOption throttling) { |
+ // Disable sending PING. |
+ SpdySession::set_enable_ping_based_connection_checking(false); |
// This is a test for verifying cooperation between WebSocketJob and |
// SocketStream in the situation we have SPDY session to the server. If |
// |throttling| was |THROTTLING_ON|, throttling limits the latter connection. |