| 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 5c2db407ab7b0846dcc3c9b37e0f3f799e4af476..15845cdf65ba6d5ee52ad43ed1a06dc8ceaa6f95 100644
|
| --- a/net/quic/congestion_control/tcp_cubic_sender_test.cc
|
| +++ b/net/quic/congestion_control/tcp_cubic_sender_test.cc
|
| @@ -75,8 +75,8 @@ class TcpCubicSenderTest : public ::testing::Test {
|
| TEST_F(TcpCubicSenderTest, SimpleSender) {
|
| QuicCongestionFeedbackFrame feedback;
|
| // At startup make sure we are at the default.
|
| - EXPECT_EQ(kDefaultWindowTCP,
|
| - sender_->AvailableSendWindow());
|
| + EXPECT_EQ(kDefaultWindowTCP, sender_->AvailableSendWindow());
|
| + EXPECT_EQ(kDefaultWindowTCP, sender_->GetCongestionWindow());
|
| // At startup make sure we can send.
|
| EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(),
|
| NOT_RETRANSMISSION, HAS_RETRANSMITTABLE_DATA, NOT_HANDSHAKE).IsZero());
|
| @@ -89,6 +89,7 @@ TEST_F(TcpCubicSenderTest, SimpleSender) {
|
| NOT_RETRANSMISSION, HAS_RETRANSMITTABLE_DATA, NOT_HANDSHAKE).IsZero());
|
| // And that window is un-affected.
|
| EXPECT_EQ(kDefaultWindowTCP, sender_->AvailableSendWindow());
|
| + EXPECT_EQ(kDefaultWindowTCP, sender_->GetCongestionWindow());
|
|
|
| // A retransmit should always return 0.
|
| EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(),
|
| @@ -146,6 +147,7 @@ TEST_F(TcpCubicSenderTest, SlowStartAckTrain) {
|
| QuicByteCount expected_send_window =
|
| kDefaultWindowTCP + (kDefaultTCPMSS * 2 * kNumberOfAck);
|
| EXPECT_EQ(expected_send_window, sender_->SendWindow());
|
| + EXPECT_EQ(expected_send_window, sender_->GetCongestionWindow());
|
| // We should now have fallen out of slow start.
|
| SendAvailableSendWindow();
|
| AckNPackets(2);
|
|
|