Index: net/tools/quic/quic_client_session_test.cc |
diff --git a/net/tools/quic/quic_client_session_test.cc b/net/tools/quic/quic_client_session_test.cc |
index 82c20e60655586e0cda641744c8ace36fb48d0e7..8a92d02b433acc9d51eb88761db89a489cd2b708 100644 |
--- a/net/tools/quic/quic_client_session_test.cc |
+++ b/net/tools/quic/quic_client_session_test.cc |
@@ -174,15 +174,8 @@ TEST_P(QuicClientSessionTest, NoEncryptionAfterInitialEncryption) { |
TEST_P(QuicClientSessionTest, MaxNumStreamsWithNoFinOrRst) { |
EXPECT_CALL(*connection_, SendRstStream(_, _, _)).Times(AnyNumber()); |
- if (GetParam() <= QUIC_VERSION_34) { |
- session_->config()->SetMaxStreamsPerConnection(1, 1); |
- |
- // Initialize crypto before the client session will create a stream. |
- CompleteCryptoHandshake(); |
- } else { |
- const uint32_t kServerMaxIncomingStreams = 1; |
- CompleteCryptoHandshake(kServerMaxIncomingStreams); |
- } |
+ const uint32_t kServerMaxIncomingStreams = 1; |
+ CompleteCryptoHandshake(kServerMaxIncomingStreams); |
QuicSpdyClientStream* stream = |
session_->CreateOutgoingDynamicStream(kDefaultPriority); |
@@ -201,15 +194,8 @@ TEST_P(QuicClientSessionTest, MaxNumStreamsWithNoFinOrRst) { |
TEST_P(QuicClientSessionTest, MaxNumStreamsWithRst) { |
EXPECT_CALL(*connection_, SendRstStream(_, _, _)).Times(AnyNumber()); |
- if (GetParam() <= QUIC_VERSION_34) { |
- session_->config()->SetMaxStreamsPerConnection(1, 1); |
- |
- // Initialize crypto before the client session will create a stream. |
- CompleteCryptoHandshake(); |
- } else { |
- const uint32_t kServerMaxIncomingStreams = 1; |
- CompleteCryptoHandshake(kServerMaxIncomingStreams); |
- } |
+ const uint32_t kServerMaxIncomingStreams = 1; |
+ CompleteCryptoHandshake(kServerMaxIncomingStreams); |
QuicSpdyClientStream* stream = |
session_->CreateOutgoingDynamicStream(kDefaultPriority); |