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

Unified Diff: net/quic/quic_server_session_base_test.cc

Issue 2176323002: Deprecate FLAGS_quic_disable_pre_30. Remove QUIC versions [25-29]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@127879468
Patch Set: Created 4 years, 5 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
Index: net/quic/quic_server_session_base_test.cc
diff --git a/net/quic/quic_server_session_base_test.cc b/net/quic/quic_server_session_base_test.cc
index 0d40b471aef5e377efe5a9f39b6d2323835756bf..b41fdf8476cedadabe4219e9c8707e5d48145ffe 100644
--- a/net/quic/quic_server_session_base_test.cc
+++ b/net/quic/quic_server_session_base_test.cc
@@ -300,14 +300,8 @@ TEST_P(QuicServerSessionBaseTest, MaxOpenStreams) {
// Now violate the server's internal stream limit.
stream_id += 2;
- if (connection_->version() <= QUIC_VERSION_27) {
- EXPECT_CALL(*connection_,
- CloseConnection(QUIC_TOO_MANY_OPEN_STREAMS, _, _));
- EXPECT_CALL(*connection_, SendRstStream(_, _, _)).Times(0);
- } else {
- EXPECT_CALL(*connection_, CloseConnection(_, _, _)).Times(0);
- EXPECT_CALL(*connection_, SendRstStream(stream_id, QUIC_REFUSED_STREAM, 0));
- }
+ EXPECT_CALL(*connection_, CloseConnection(_, _, _)).Times(0);
+ EXPECT_CALL(*connection_, SendRstStream(stream_id, QUIC_REFUSED_STREAM, 0));
// Even if the connection remains open, the stream creation should fail.
EXPECT_FALSE(QuicServerSessionBasePeer::GetOrCreateDynamicStream(
session_.get(), stream_id));

Powered by Google App Engine
This is Rietveld 408576698