| Index: net/quic/congestion_control/cubic_bytes_test.cc
|
| diff --git a/net/quic/congestion_control/cubic_bytes_test.cc b/net/quic/congestion_control/cubic_bytes_test.cc
|
| index 1d4b94ec50023905c4493bb27f2ebf84dc58de52..02504b3f98e3b7a85ed9d6a16a528ceca94a2a0d 100644
|
| --- a/net/quic/congestion_control/cubic_bytes_test.cc
|
| +++ b/net/quic/congestion_control/cubic_bytes_test.cc
|
| @@ -5,7 +5,6 @@
|
| #include "net/quic/congestion_control/cubic_bytes.h"
|
|
|
| #include "base/logging.h"
|
| -#include "net/quic/quic_connection_stats.h"
|
| #include "net/quic/test_tools/mock_clock.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -75,41 +74,6 @@ TEST_F(CubicBytesTest, AboveOrigin) {
|
| EXPECT_EQ(expected_cwnd, current_cwnd / kDefaultTCPMSS);
|
| }
|
|
|
| -TEST_F(CubicBytesTest, CwndIncreaseStatsDuringConvexRegion) {
|
| - const QuicTime::Delta rtt_min = hundred_ms_;
|
| - QuicByteCount current_cwnd = 10 * kDefaultTCPMSS;
|
| - QuicByteCount expected_cwnd = current_cwnd + kDefaultTCPMSS;
|
| - // Initialize controller state.
|
| - clock_.AdvanceTime(one_ms_);
|
| - expected_cwnd =
|
| - cubic_.CongestionWindowAfterAck(kDefaultTCPMSS, current_cwnd, rtt_min);
|
| - current_cwnd = expected_cwnd;
|
| - // Testing Reno mode increase.
|
| - for (int i = 0; i < 48; ++i) {
|
| - for (QuicPacketCount n = 1;
|
| - n < current_cwnd / kDefaultTCPMSS / kNConnectionAlpha; ++n) {
|
| - // Call once per ACK, causing cwnd growth in Reno mode.
|
| - cubic_.CongestionWindowAfterAck(kDefaultTCPMSS, current_cwnd, rtt_min);
|
| - }
|
| - // Advance current time so that cwnd update is allowed to happen by Cubic.
|
| - clock_.AdvanceTime(hundred_ms_);
|
| - current_cwnd =
|
| - cubic_.CongestionWindowAfterAck(kDefaultTCPMSS, current_cwnd, rtt_min);
|
| - expected_cwnd += kDefaultTCPMSS;
|
| - }
|
| -
|
| - // Testing Cubic mode increase.
|
| - for (int i = 0; i < 52; ++i) {
|
| - for (QuicPacketCount n = 1; n < current_cwnd / kDefaultTCPMSS; ++n) {
|
| - // Call once per ACK.
|
| - cubic_.CongestionWindowAfterAck(kDefaultTCPMSS, current_cwnd, rtt_min);
|
| - }
|
| - clock_.AdvanceTime(hundred_ms_);
|
| - current_cwnd =
|
| - cubic_.CongestionWindowAfterAck(kDefaultTCPMSS, current_cwnd, rtt_min);
|
| - }
|
| -}
|
| -
|
| TEST_F(CubicBytesTest, LossEvents) {
|
| const QuicTime::Delta rtt_min = hundred_ms_;
|
| QuicByteCount current_cwnd = 422 * kDefaultTCPMSS;
|
|
|