Index: net/spdy/spdy_proxy_client_socket_unittest.cc |
=================================================================== |
--- net/spdy/spdy_proxy_client_socket_unittest.cc (revision 105385) |
+++ net/spdy/spdy_proxy_client_socket_unittest.cc (working copy) |
@@ -57,6 +57,8 @@ |
public: |
SpdyProxyClientSocketTest(); |
+ virtual void SetUp(); |
+ |
virtual void TearDown(); |
protected: |
@@ -149,6 +151,11 @@ |
false)) { |
} |
+void SpdyProxyClientSocketTest::SetUp() { |
+ // Disable sending PING. |
+ SpdySession::set_enable_ping_based_connection_checking(false); |
+} |
+ |
void SpdyProxyClientSocketTest::TearDown() { |
if (session_ != NULL) |
session_->spdy_session_pool()->CloseAllSessions(); |
@@ -157,6 +164,8 @@ |
// Empty the current queue. |
MessageLoop::current()->RunAllPending(); |
PlatformTest::TearDown(); |
+ // Enable sending PING. |
+ SpdySession::set_enable_ping_based_connection_checking(true); |
} |
void SpdyProxyClientSocketTest::Initialize(MockRead* reads, |