| Index: net/quic/core/quic_connection_test.cc
|
| diff --git a/net/quic/core/quic_connection_test.cc b/net/quic/core/quic_connection_test.cc
|
| index 8f4e599046aa76a2fd60249ac996a0b21cd78f75..d8e97f8d32681f2aeea3f955c52e927cac2044d4 100644
|
| --- a/net/quic/core/quic_connection_test.cc
|
| +++ b/net/quic/core/quic_connection_test.cc
|
| @@ -5243,11 +5243,6 @@ TEST_P(QuicConnectionTest, ClientReceivesRejOnNonCryptoStream) {
|
|
|
| TEST_P(QuicConnectionTest, CloseConnectionOnPacketTooLarge) {
|
| SimulateNextPacketTooLarge();
|
| - if (!FLAGS_quic_only_track_sent_packets) {
|
| - // Although the data packet cannot be written, the send packet manager is
|
| - // informed.
|
| - EXPECT_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _)).Times(2);
|
| - }
|
| // A connection close packet is sent
|
| EXPECT_CALL(visitor_, OnConnectionClosed(QUIC_PACKET_WRITE_ERROR, _,
|
| ConnectionCloseSource::FROM_SELF))
|
| @@ -5259,9 +5254,6 @@ TEST_P(QuicConnectionTest, AlwaysGetPacketTooLarge) {
|
| // Test even we always get packet too large, we do not infinitely try to send
|
| // close packet.
|
| AlwaysGetPacketTooLarge();
|
| - if (!FLAGS_quic_only_track_sent_packets) {
|
| - EXPECT_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _)).Times(2);
|
| - }
|
| EXPECT_CALL(visitor_, OnConnectionClosed(QUIC_PACKET_WRITE_ERROR, _,
|
| ConnectionCloseSource::FROM_SELF))
|
| .Times(1);
|
|
|