Index: net/quic/congestion_control/tcp_loss_algorithm_test.cc |
diff --git a/net/quic/congestion_control/tcp_loss_algorithm_test.cc b/net/quic/congestion_control/tcp_loss_algorithm_test.cc |
index 38736d401a775555546a5d2ecda88adbf2b1ac28..f4e3d5ec3d7541d3ef05c9e7ee38bf32259b4f8d 100644 |
--- a/net/quic/congestion_control/tcp_loss_algorithm_test.cc |
+++ b/net/quic/congestion_control/tcp_loss_algorithm_test.cc |
@@ -168,10 +168,13 @@ TEST_F(TcpLossAlgorithmTest, DontEarlyRetransmitNeuteredPacket) { |
for (size_t i = 1; i <= kNumSentPackets; ++i) { |
SendDataPacket(i); |
} |
+ // Neuter packet 1. |
+ unacked_packets_.RemoveRetransmittability(1); |
+ |
// Early retransmit when the final packet gets acked and the first is nacked. |
+ unacked_packets_.IncreaseLargestObserved(2); |
unacked_packets_.SetNotPending(2); |
unacked_packets_.NackPacket(1, 1); |
- unacked_packets_.RemoveRetransmittability(1, 1); |
VerifyLosses(2, NULL, 0); |
EXPECT_EQ(QuicTime::Zero(), loss_algorithm_.GetLossTimeout()); |
} |