Index: net/quic/core/congestion_control/tcp_cubic_sender_bytes_test.cc |
diff --git a/net/quic/core/congestion_control/tcp_cubic_sender_bytes_test.cc b/net/quic/core/congestion_control/tcp_cubic_sender_bytes_test.cc |
index bc80426ec76a847cef00311764a7b35e772201a7..be42fda1dbe5002aeffa8b3820c95f971c04feb1 100644 |
--- a/net/quic/core/congestion_control/tcp_cubic_sender_bytes_test.cc |
+++ b/net/quic/core/congestion_control/tcp_cubic_sender_bytes_test.cc |
@@ -701,18 +701,10 @@ TEST_F(TcpCubicSenderBytesTest, BandwidthResumption) { |
EXPECT_EQ(kMaxCongestionWindowPackets * kDefaultTCPMSS, |
sender_->GetCongestionWindow()); |
- if (FLAGS_quic_no_lower_bw_resumption_limit) { |
- // Resume with an illegal value of 0 and verify the server uses 1 instead. |
- cached_network_params.set_bandwidth_estimate_bytes_per_second(0); |
- sender_->ResumeConnectionState(cached_network_params, false); |
- EXPECT_EQ(sender_->min_congestion_window(), sender_->GetCongestionWindow()); |
- } else { |
- cached_network_params.set_bandwidth_estimate_bytes_per_second( |
- (kMinCongestionWindowForBandwidthResumption - 1) * kDefaultTCPMSS); |
- sender_->ResumeConnectionState(cached_network_params, false); |
- EXPECT_EQ(kMinCongestionWindowForBandwidthResumption * kDefaultTCPMSS, |
- sender_->GetCongestionWindow()); |
- } |
+ // Resume with an illegal value of 0 and verify the server uses 1 instead. |
+ cached_network_params.set_bandwidth_estimate_bytes_per_second(0); |
+ sender_->ResumeConnectionState(cached_network_params, false); |
+ EXPECT_EQ(sender_->min_congestion_window(), sender_->GetCongestionWindow()); |
// Resume to the max value. |
cached_network_params.set_max_bandwidth_estimate_bytes_per_second( |