| 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 8da8cb99bce27960abb01f8b77dc411814df7c46..4fe8dbfb5014ddb89aa5b2a88a050b86b7253fa8 100644
|
| --- a/net/quic/congestion_control/tcp_cubic_sender_test.cc
|
| +++ b/net/quic/congestion_control/tcp_cubic_sender_test.cc
|
| @@ -49,6 +49,10 @@ class TcpCubicSenderPeer : public TcpCubicSender {
|
| return hybrid_slow_start_;
|
| }
|
|
|
| + float GetRenoBeta() const {
|
| + return RenoBeta();
|
| + }
|
| +
|
| RttStats rtt_stats_;
|
| QuicConnectionStats stats_;
|
| };
|
| @@ -599,7 +603,7 @@ TEST_F(TcpCubicSenderTest, 2ConnectionCongestionAvoidanceAtEndOfRecovery) {
|
| LoseNPackets(1);
|
|
|
| // We should now have fallen out of slow start with a reduced window.
|
| - expected_send_window *= kRenoBeta;
|
| + expected_send_window = expected_send_window * sender_->GetRenoBeta();
|
| EXPECT_EQ(expected_send_window, sender_->GetCongestionWindow());
|
|
|
| // No congestion window growth should occur in recovery phase, i.e., until the
|
|
|