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

Unified Diff: net/quic/quic_session_test.cc

Issue 476023002: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0814_2
Patch Set: Created 6 years, 4 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 | « net/quic/quic_session.h ('k') | net/quic/quic_sustained_bandwidth_recorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session_test.cc
diff --git a/net/quic/quic_session_test.cc b/net/quic/quic_session_test.cc
index b604a7ffee1f19c3b0793913313cbc4f6d123974..787f6242f243f9ea1937be1e56062953094f5c98 100644
--- a/net/quic/quic_session_test.cc
+++ b/net/quic/quic_session_test.cc
@@ -578,11 +578,12 @@ TEST_P(QuicSessionTest, DoNotSendGoAwayTwice) {
}
TEST_P(QuicSessionTest, IncreasedTimeoutAfterCryptoHandshake) {
- EXPECT_EQ(kDefaultInitialTimeoutSecs,
+ // Add 1 to the connection timeout on the server side.
+ EXPECT_EQ(kDefaultInitialTimeoutSecs + 1,
QuicConnectionPeer::GetNetworkTimeout(connection_).ToSeconds());
CryptoHandshakeMessage msg;
session_.GetCryptoStream()->OnHandshakeMessage(msg);
- EXPECT_EQ(kDefaultTimeoutSecs,
+ EXPECT_EQ(kDefaultTimeoutSecs + 1,
QuicConnectionPeer::GetNetworkTimeout(connection_).ToSeconds());
}
« no previous file with comments | « net/quic/quic_session.h ('k') | net/quic/quic_sustained_bandwidth_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698