| Index: net/quic/core/congestion_control/general_loss_algorithm_test.cc
|
| diff --git a/net/quic/core/congestion_control/general_loss_algorithm_test.cc b/net/quic/core/congestion_control/general_loss_algorithm_test.cc
|
| index 6fa96d7b8272403e5954ac3e3e4f3db0b889dfd5..bbf2b622180067453b8c70b85a55b374c189d59b 100644
|
| --- a/net/quic/core/congestion_control/general_loss_algorithm_test.cc
|
| +++ b/net/quic/core/congestion_control/general_loss_algorithm_test.cc
|
| @@ -437,6 +437,11 @@ TEST_F(GeneralLossAlgorithmTest, IncreaseThresholdUponSpuriousLoss) {
|
| // Advance the time 1/4 RTT and indicate the loss was spurious.
|
| // The new threshold should be 1/2 RTT.
|
| clock_.AdvanceTime(rtt_stats_.smoothed_rtt() * (1.0f / 4));
|
| + if (FLAGS_quic_reloadable_flag_quic_fix_adaptive_time_loss) {
|
| + // The flag fixes an issue where adaptive time loss would increase the
|
| + // reordering threshold by an extra factor of two.
|
| + clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
|
| + }
|
| loss_algorithm_.SpuriousRetransmitDetected(unacked_packets_, clock_.Now(),
|
| rtt_stats_, 11);
|
| EXPECT_EQ(1, loss_algorithm_.reordering_shift());
|
|
|