| Index: net/quic/congestion_control/cubic_test.cc
|
| diff --git a/net/quic/congestion_control/cubic_test.cc b/net/quic/congestion_control/cubic_test.cc
|
| index fb88de60bf23313508e4aa1ee4f33be7be11ec05..2e2c231f8141f73b30db03422b07182eec880a3e 100644
|
| --- a/net/quic/congestion_control/cubic_test.cc
|
| +++ b/net/quic/congestion_control/cubic_test.cc
|
| @@ -5,7 +5,6 @@
|
| #include "net/quic/congestion_control/cubic.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"
|
|
|
| @@ -70,37 +69,6 @@ TEST_F(CubicTest, AboveOrigin) {
|
| EXPECT_EQ(expected_cwnd, current_cwnd);
|
| }
|
|
|
| -TEST_F(CubicTest, CwndIncreaseStatsDuringConvexRegion) {
|
| - const QuicTime::Delta rtt_min = hundred_ms_;
|
| - QuicPacketCount current_cwnd = 10;
|
| - QuicPacketCount expected_cwnd = current_cwnd + 1;
|
| - // Initialize controller state.
|
| - clock_.AdvanceTime(one_ms_);
|
| - expected_cwnd = cubic_.CongestionWindowAfterAck(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 / kNConnectionAlpha; ++n) {
|
| - // Call once per ACK, causing cwnd growth in Reno mode.
|
| - cubic_.CongestionWindowAfterAck(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(current_cwnd, rtt_min);
|
| - expected_cwnd++;
|
| - }
|
| -
|
| - // Testing Cubic mode increase.
|
| - for (int i = 0; i < 52; ++i) {
|
| - for (QuicPacketCount n = 1; n < current_cwnd; ++n) {
|
| - // Call once per ACK.
|
| - cubic_.CongestionWindowAfterAck(current_cwnd, rtt_min);
|
| - }
|
| - clock_.AdvanceTime(hundred_ms_);
|
| - current_cwnd = cubic_.CongestionWindowAfterAck(current_cwnd, rtt_min);
|
| - }
|
| -}
|
| -
|
| TEST_F(CubicTest, LossEvents) {
|
| const QuicTime::Delta rtt_min = hundred_ms_;
|
| QuicPacketCount current_cwnd = 422;
|
|
|