| Index: net/quic/quic_connection_test.cc
|
| diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc
|
| index 5b069321551b46bc74a735167d718fb721a0a515..563fa8d9132c0486bccb20f1b24a1083417ea444 100644
|
| --- a/net/quic/quic_connection_test.cc
|
| +++ b/net/quic/quic_connection_test.cc
|
| @@ -1989,6 +1989,7 @@ TEST_P(QuicConnectionTest, RetransmitWriteBlockedAckedOriginalThenSent) {
|
| // rare circumstances with write blocked sockets.
|
| QuicAckFrame ack = InitAckFrame(1, 0);
|
| EXPECT_CALL(*send_algorithm_, OnCongestionEvent(true, _, _, _));
|
| + EXPECT_CALL(*send_algorithm_, RevertRetransmissionTimeout());
|
| ProcessAckPacket(&ack);
|
|
|
| connection_.OnPacketSent(WriteResult(WRITE_STATUS_OK, 0));
|
| @@ -3556,6 +3557,7 @@ TEST_P(QuicConnectionTest, CheckSendStats) {
|
| EXPECT_CALL(*send_algorithm_, OnCongestionEvent(true, _, _, _));
|
| EXPECT_CALL(visitor_, OnCanWrite()).Times(2);
|
| EXPECT_CALL(visitor_, OnSuccessfulVersionNegotiation(_));
|
| + EXPECT_CALL(*send_algorithm_, RevertRetransmissionTimeout());
|
| ProcessAckPacket(&nack_three);
|
|
|
| EXPECT_CALL(*send_algorithm_, BandwidthEstimate()).WillOnce(
|
| @@ -3807,9 +3809,10 @@ TEST_P(QuicConnectionTest, AckNotifierCallbackForAckAfterRTO) {
|
| // We do not raise the high water mark yet.
|
| EXPECT_EQ(1u, outgoing_ack()->sent_info.least_unacked);
|
|
|
| - // Ack the original packet.
|
| + // Ack the original packet, which will revert the RTO.
|
| EXPECT_CALL(visitor_, OnSuccessfulVersionNegotiation(_));
|
| EXPECT_CALL(*delegate, OnAckNotification(1, _, 1, _, _));
|
| + EXPECT_CALL(*send_algorithm_, RevertRetransmissionTimeout());
|
| EXPECT_CALL(*send_algorithm_, OnCongestionEvent(true, _, _, _));
|
| QuicAckFrame ack_frame = InitAckFrame(1, 0);
|
| ProcessAckPacket(&ack_frame);
|
|
|