| Index: net/quic/congestion_control/tcp_cubic_sender_test.cc
|
| diff --git a/net/quic/congestion_control/tcp_cubic_sender_test.cc b/net/quic/congestion_control/tcp_cubic_sender_test.cc
|
| index 8409f97283302b4ba39081187c822057406ab875..ef2e1c0a2cf0ff5a68305f1ae2a209aa138b6635 100644
|
| --- a/net/quic/congestion_control/tcp_cubic_sender_test.cc
|
| +++ b/net/quic/congestion_control/tcp_cubic_sender_test.cc
|
| @@ -207,6 +207,9 @@ TEST_F(TcpCubicSenderTest, ExponentialSlowStart) {
|
| }
|
|
|
| TEST_F(TcpCubicSenderTest, SlowStartAckTrain) {
|
| + EXPECT_EQ(kDefaultMaxCongestionWindowTCP * kDefaultTCPMSS,
|
| + sender_->GetSlowStartThreshold());
|
| +
|
| // Make sure that we fall out of slow start when we send ACK train longer
|
| // than half the RTT, in this test case 30ms, which is more than 30 calls to
|
| // Ack2Packets in one round.
|
| @@ -238,8 +241,10 @@ TEST_F(TcpCubicSenderTest, SlowStartAckTrain) {
|
| }
|
| SendAvailableSendWindow();
|
| AckNPackets(2);
|
| + QuicByteCount expected_ss_tresh = expected_send_window;
|
| expected_send_window += kDefaultTCPMSS;
|
| EXPECT_EQ(expected_send_window, sender_->GetCongestionWindow());
|
| + EXPECT_EQ(expected_ss_tresh, sender_->GetSlowStartThreshold());
|
| EXPECT_EQ(140u, sender_->slowstart_threshold());
|
|
|
| // Now RTO and ensure slow start gets reset.
|
|
|