Index: net/quic/quic_flow_controller_test.cc |
diff --git a/net/quic/quic_flow_controller_test.cc b/net/quic/quic_flow_controller_test.cc |
index 275af53e1f1d3f1e31fdceb1bddd94c1bdd04915..d2e040b421c8de930c48abf986ce254f9ca1a327 100644 |
--- a/net/quic/quic_flow_controller_test.cc |
+++ b/net/quic/quic_flow_controller_test.cc |
@@ -156,7 +156,6 @@ TEST_F(QuicFlowControllerTest, OnlySendBlockedFrameOncePerOffset) { |
} |
TEST_F(QuicFlowControllerTest, ReceivingBytesFastIncreasesFlowWindow) { |
- FLAGS_quic_auto_tune_receive_window = true; |
// This test will generate two WINDOW_UPDATE frames. |
EXPECT_CALL(connection_, SendWindowUpdate(stream_id_, ::testing::_)).Times(2); |
@@ -209,13 +208,12 @@ TEST_F(QuicFlowControllerTest, ReceivingBytesFastIncreasesFlowWindow) { |
EXPECT_GT(new_threshold, threshold); |
} |
-TEST_F(QuicFlowControllerTest, ReceivingBytesFastStatusQuo) { |
- FLAGS_quic_auto_tune_receive_window = false; |
+TEST_F(QuicFlowControllerTest, ReceivingBytesFastNoAutoTune) { |
// This test will generate two WINDOW_UPDATE frames. |
EXPECT_CALL(connection_, SendWindowUpdate(stream_id_, ::testing::_)).Times(2); |
Initialize(); |
- flow_controller_->set_auto_tune_receive_window(true); |
+ flow_controller_->set_auto_tune_receive_window(false); |
// Make sure clock is inititialized. |
connection_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1)); |
@@ -264,7 +262,6 @@ TEST_F(QuicFlowControllerTest, ReceivingBytesFastStatusQuo) { |
} |
TEST_F(QuicFlowControllerTest, ReceivingBytesNormalStableFlowWindow) { |
- FLAGS_quic_auto_tune_receive_window = true; |
// This test will generate two WINDOW_UPDATE frames. |
EXPECT_CALL(connection_, SendWindowUpdate(stream_id_, ::testing::_)).Times(2); |
@@ -319,13 +316,12 @@ TEST_F(QuicFlowControllerTest, ReceivingBytesNormalStableFlowWindow) { |
EXPECT_EQ(new_threshold, threshold); |
} |
-TEST_F(QuicFlowControllerTest, ReceivingBytesNormalStatusQuo) { |
- FLAGS_quic_auto_tune_receive_window = false; |
+TEST_F(QuicFlowControllerTest, ReceivingBytesNormalNoAutoTune) { |
// This test will generate two WINDOW_UPDATE frames. |
EXPECT_CALL(connection_, SendWindowUpdate(stream_id_, ::testing::_)).Times(2); |
Initialize(); |
- flow_controller_->set_auto_tune_receive_window(true); |
+ flow_controller_->set_auto_tune_receive_window(false); |
// Make sure clock is inititialized. |
connection_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1)); |