Index: net/tools/quic/quic_dispatcher_test.cc |
diff --git a/net/tools/quic/quic_dispatcher_test.cc b/net/tools/quic/quic_dispatcher_test.cc |
index 8fc56573620088aef8873b387c2719a2224285e4..81c2cb90d7e44624f06fe02c3647995e00537eb7 100644 |
--- a/net/tools/quic/quic_dispatcher_test.cc |
+++ b/net/tools/quic/quic_dispatcher_test.cc |
@@ -530,7 +530,6 @@ TEST_F(QuicDispatcherTest, TooBigSeqNoPacketToTimeWaitListManager) { |
TEST_F(QuicDispatcherTest, SupportedVersionsChangeInFlight) { |
static_assert(arraysize(kSupportedQuicVersions) == 5u, |
"Supported versions out of sync"); |
- FLAGS_quic_reloadable_flag_quic_enable_version_36_v3 = true; |
FLAGS_quic_reloadable_flag_quic_enable_version_37 = true; |
FLAGS_quic_reloadable_flag_quic_enable_version_38 = true; |
base::SetFlag(&FLAGS_quic_enable_version_39, true); |
@@ -597,32 +596,6 @@ TEST_F(QuicDispatcherTest, SupportedVersionsChangeInFlight) { |
ProcessPacket(client_address, connection_id, true, QUIC_VERSION_39, |
SerializeCHLO(), PACKET_8BYTE_CONNECTION_ID, |
PACKET_6BYTE_PACKET_NUMBER, 1); |
- |
- // Turn off version 36. |
- FLAGS_quic_reloadable_flag_quic_enable_version_36_v3 = false; |
- ++connection_id; |
- EXPECT_CALL(*dispatcher_, CreateQuicSession(connection_id, client_address)) |
- .Times(0); |
- ProcessPacket(client_address, connection_id, true, QUIC_VERSION_36, |
- SerializeCHLO(), PACKET_8BYTE_CONNECTION_ID, |
- PACKET_6BYTE_PACKET_NUMBER, 1); |
- |
- // Turn on version 36. |
- FLAGS_quic_reloadable_flag_quic_enable_version_36_v3 = true; |
- ++connection_id; |
- EXPECT_CALL(*dispatcher_, CreateQuicSession(connection_id, client_address)) |
- .WillOnce(testing::Return(CreateSession( |
- dispatcher_.get(), config_, connection_id, client_address, |
- &mock_helper_, &mock_alarm_factory_, &crypto_config_, |
- QuicDispatcherPeer::GetCache(dispatcher_.get()), &session1_))); |
- EXPECT_CALL(*reinterpret_cast<MockQuicConnection*>(session1_->connection()), |
- ProcessUdpPacket(_, _, _)) |
- .WillOnce(testing::WithArgs<2>( |
- Invoke(CreateFunctor(&QuicDispatcherTest::ValidatePacket, |
- base::Unretained(this), connection_id)))); |
- ProcessPacket(client_address, connection_id, true, QUIC_VERSION_35, |
- SerializeCHLO(), PACKET_8BYTE_CONNECTION_ID, |
- PACKET_6BYTE_PACKET_NUMBER, 1); |
} |
// Enables mocking of the handshake-confirmation for stateless rejects. |