Index: net/quic/congestion_control/tcp_cubic_sender_test.cc |
diff --git a/net/quic/congestion_control/tcp_cubic_sender_test.cc b/net/quic/congestion_control/tcp_cubic_sender_test.cc |
index a97ddb6ea37a6d470fe57f9d7d62046bf9d2a820..26041ae018a1ed52974ab6d816d25cc70e8c4d10 100644 |
--- a/net/quic/congestion_control/tcp_cubic_sender_test.cc |
+++ b/net/quic/congestion_control/tcp_cubic_sender_test.cc |
@@ -11,10 +11,12 @@ |
#include "net/quic/congestion_control/rtt_stats.h" |
#include "net/quic/crypto/crypto_protocol.h" |
#include "net/quic/proto/cached_network_parameters.pb.h" |
+#include "net/quic/quic_flags.h" |
#include "net/quic/quic_protocol.h" |
#include "net/quic/quic_utils.h" |
#include "net/quic/test_tools/mock_clock.h" |
#include "net/quic/test_tools/quic_config_peer.h" |
+#include "net/quic/test_tools/quic_test_utils.h" |
#include "testing/gtest/include/gtest/gtest.h" |
using std::min; |
@@ -486,6 +488,7 @@ TEST_F(TcpCubicSenderTest, TcpCubicMaxCongestionWindow) { |
} |
TEST_F(TcpCubicSenderTest, TcpCubicResetEpochOnQuiescence) { |
+ ValueRestore<bool> old_flag(&FLAGS_reset_cubic_epoch_when_app_limited, true); |
const int kMaxCongestionWindow = 50; |
const QuicByteCount kMaxCongestionWindowBytes = |
kMaxCongestionWindow * kDefaultTCPMSS; |