Index: net/spdy/spdy_session_unittest.cc |
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc |
index 6388bf8867f3022307a8886c8534ae6ddb5c19b2..f0d448cd7006c769c022d1bf8f65788ca3a64477 100644 |
--- a/net/spdy/spdy_session_unittest.cc |
+++ b/net/spdy/spdy_session_unittest.cc |
@@ -3178,7 +3178,8 @@ TEST_P(SpdySessionTest, AdjustSendWindowSize) { |
} |
// Incoming data for an inactive stream should not cause the session |
-// receive window size to decrease. |
+// receive window size to decrease, but it should cause the unacked |
+// bytes to increase. |
TEST_P(SpdySessionTest, SessionFlowControlInactiveStream) { |
if (GetParam() < kProtoSPDY31) |
return; |
@@ -3210,7 +3211,7 @@ TEST_P(SpdySessionTest, SessionFlowControlInactiveStream) { |
data.RunFor(1); |
EXPECT_EQ(kSpdySessionInitialWindowSize, session->session_recv_window_size_); |
- EXPECT_EQ(0, session->session_unacked_recv_window_bytes_); |
+ EXPECT_EQ(kUploadDataSize, session->session_unacked_recv_window_bytes_); |
data.RunFor(1); |
} |