Index: net/quic/quic_connection_test.cc |
diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc |
index 2c0fecc0225e11d57081787d19740f826133929e..f5dda3ce99f83477a68df10a309ce1f937367667 100644 |
--- a/net/quic/quic_connection_test.cc |
+++ b/net/quic/quic_connection_test.cc |
@@ -1958,9 +1958,9 @@ TEST_P(QuicConnectionTest, RetransmitWriteBlockedAckedOriginalThenSent) { |
ProcessAckPacket(&ack); |
connection_.OnPacketSent(WriteResult(WRITE_STATUS_OK, 0)); |
- // The retransmission alarm should not be set because there are |
- // no unacked packets. |
- EXPECT_FALSE(connection_.GetRetransmissionAlarm()->IsSet()); |
+ // There is now a pending packet, but with no retransmittable frames. |
+ EXPECT_TRUE(connection_.GetRetransmissionAlarm()->IsSet()); |
+ EXPECT_FALSE(connection_.sent_packet_manager().HasRetransmittableFrames(2)); |
} |
TEST_P(QuicConnectionTest, AlarmsWhenWriteBlocked) { |