Index: net/spdy/spdy_stream_unittest.cc |
=================================================================== |
--- net/spdy/spdy_stream_unittest.cc (revision 105385) |
+++ net/spdy/spdy_stream_unittest.cc (working copy) |
@@ -108,8 +108,15 @@ |
return session; |
} |
+ virtual void SetUp() OVERRIDE { |
+ // Disable sending PING. |
+ SpdySession::set_enable_ping_based_connection_checking(false); |
+ } |
+ |
virtual void TearDown() { |
MessageLoop::current()->RunAllPending(); |
+ // Enable sending PING. |
+ SpdySession::set_enable_ping_based_connection_checking(true); |
} |
scoped_refptr<HttpNetworkSession> session_; |