Index: net/quic/core/congestion_control/cubic_bytes_test.cc |
diff --git a/net/quic/core/congestion_control/cubic_bytes_test.cc b/net/quic/core/congestion_control/cubic_bytes_test.cc |
index 8c5f12d48fe4b4ce80efab15c0415bbe2263c521..85ed458583e7a3a5a04d2b84d9fdd8dc602a92e0 100644 |
--- a/net/quic/core/congestion_control/cubic_bytes_test.cc |
+++ b/net/quic/core/congestion_control/cubic_bytes_test.cc |
@@ -34,9 +34,7 @@ TEST_F(CubicBytesTest, AboveOrigin) { |
// Convex growth. |
const QuicTime::Delta rtt_min = hundred_ms_; |
QuicByteCount current_cwnd = 10 * kDefaultTCPMSS; |
- QuicByteCount expected_cwnd = |
- current_cwnd + (FLAGS_quic_limit_cubic_cwnd_increase ? kDefaultTCPMSS / 2 |
- : kDefaultTCPMSS); |
+ QuicByteCount expected_cwnd = current_cwnd + (kDefaultTCPMSS / 2); |
// Initialize the state. |
clock_.AdvanceTime(one_ms_); |
EXPECT_EQ(expected_cwnd, cubic_.CongestionWindowAfterAck( |
@@ -80,9 +78,7 @@ TEST_F(CubicBytesTest, AboveOrigin) { |
TEST_F(CubicBytesTest, LossEvents) { |
const QuicTime::Delta rtt_min = hundred_ms_; |
QuicByteCount current_cwnd = 422 * kDefaultTCPMSS; |
- QuicPacketCount expected_cwnd = |
- current_cwnd + (FLAGS_quic_limit_cubic_cwnd_increase ? kDefaultTCPMSS / 2 |
- : kDefaultTCPMSS); |
+ QuicPacketCount expected_cwnd = current_cwnd + kDefaultTCPMSS / 2; |
// Initialize the state. |
clock_.AdvanceTime(one_ms_); |
EXPECT_EQ(expected_cwnd, cubic_.CongestionWindowAfterAck( |
@@ -99,9 +95,7 @@ TEST_F(CubicBytesTest, BelowOrigin) { |
// Concave growth. |
const QuicTime::Delta rtt_min = hundred_ms_; |
QuicByteCount current_cwnd = 422 * kDefaultTCPMSS; |
- QuicPacketCount expected_cwnd = |
- current_cwnd + (FLAGS_quic_limit_cubic_cwnd_increase ? kDefaultTCPMSS / 2 |
- : kDefaultTCPMSS); |
+ QuicPacketCount expected_cwnd = current_cwnd + kDefaultTCPMSS / 2; |
// Initialize the state. |
clock_.AdvanceTime(one_ms_); |
EXPECT_EQ(expected_cwnd, cubic_.CongestionWindowAfterAck( |
@@ -119,8 +113,7 @@ TEST_F(CubicBytesTest, BelowOrigin) { |
current_cwnd = |
cubic_.CongestionWindowAfterAck(kDefaultTCPMSS, current_cwnd, rtt_min); |
} |
- expected_cwnd = |
- FLAGS_quic_limit_cubic_cwnd_increase ? 553632 : 422 * kDefaultTCPMSS; |
+ expected_cwnd = 553632; |
EXPECT_EQ(expected_cwnd, current_cwnd); |
} |