| Index: net/quic/quic_connection_test.cc
|
| diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc
|
| index 2871f1259506afd314f75f058691cd05c06d692e..8eb967493148fec2c56cd9a6e26a0ab6efcc7af7 100644
|
| --- a/net/quic/quic_connection_test.cc
|
| +++ b/net/quic/quic_connection_test.cc
|
| @@ -677,15 +677,16 @@ class QuicConnectionTest : public ::testing::TestWithParam<TestParams> {
|
| connection_.SetLossAlgorithm(loss_algorithm_);
|
| framer_.set_received_entropy_calculator(&entropy_calculator_);
|
| generator_->set_fec_send_policy(GetParam().fec_send_policy);
|
| - EXPECT_CALL(
|
| - *send_algorithm_, TimeUntilSend(_, _, _)).WillRepeatedly(Return(
|
| - QuicTime::Delta::Zero()));
|
| + EXPECT_CALL(*send_algorithm_, TimeUntilSend(_, _, _))
|
| + .WillRepeatedly(Return(QuicTime::Delta::Zero()));
|
| EXPECT_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _))
|
| .Times(AnyNumber());
|
| - EXPECT_CALL(*send_algorithm_, RetransmissionDelay()).WillRepeatedly(
|
| - Return(QuicTime::Delta::Zero()));
|
| - EXPECT_CALL(*send_algorithm_, GetCongestionWindow()).WillRepeatedly(
|
| - Return(kMaxPacketSize));
|
| + EXPECT_CALL(*send_algorithm_, RetransmissionDelay())
|
| + .WillRepeatedly(Return(QuicTime::Delta::Zero()));
|
| + EXPECT_CALL(*send_algorithm_, GetCongestionWindow())
|
| + .WillRepeatedly(Return(kDefaultTCPMSS));
|
| + EXPECT_CALL(*send_algorithm_, PacingRate())
|
| + .WillRepeatedly(Return(QuicBandwidth::Zero()));
|
| ON_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _))
|
| .WillByDefault(Return(true));
|
| EXPECT_CALL(*send_algorithm_, HasReliableBandwidthEstimate())
|
| @@ -3315,6 +3316,7 @@ TEST_P(QuicConnectionTest, MtuDiscoveryEnabled) {
|
| EXPECT_CALL(*send_algorithm_, OnCongestionEvent(true, _, _, _));
|
| ProcessAckPacket(&probe_ack);
|
| EXPECT_EQ(kMtuDiscoveryTargetPacketSizeHigh, connection_.max_packet_length());
|
| + EXPECT_EQ(0u, QuicSentPacketManagerPeer::GetBytesInFlight(manager_));
|
|
|
| // Send more packets, and ensure that none of them sets the alarm.
|
| for (QuicPacketCount i = 0; i < 4 * kPacketsBetweenMtuProbesBase; i++) {
|
|
|