gfe-relnote: Change cwnd bootstrapping UpAndDown experiment group IW to 10. Protected by existing gfe2_reloadable_flag_quic_bbr_mitigate_overly_large_bandwidth_sample.
PiperOrigin-RevId: 289155925
Change-Id: I9d75a9d0f7dd79d6e74b676ac95d9c0ef48b8bd4
diff --git a/quic/core/quic_sent_packet_manager_test.cc b/quic/core/quic_sent_packet_manager_test.cc
index c08a517..86ee40a 100644
--- a/quic/core/quic_sent_packet_manager_test.cc
+++ b/quic/core/quic_sent_packet_manager_test.cc
@@ -3312,6 +3312,20 @@
manager_.GetRetransmissionTime());
}
+TEST_F(QuicSentPacketManagerTest, IW10ForUpAndDown) {
+ SetQuicReloadableFlag(quic_bbr_mitigate_overly_large_bandwidth_sample, true);
+ QuicConfig config;
+ QuicTagVector options;
+ options.push_back(kBWS5);
+ QuicConfigPeer::SetReceivedConnectionOptions(&config, options);
+ EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _));
+ EXPECT_CALL(*send_algorithm_, SetInitialCongestionWindowInPackets(10));
+ EXPECT_CALL(*network_change_visitor_, OnCongestionChange());
+ manager_.SetFromConfig(config);
+
+ EXPECT_EQ(10u, manager_.initial_congestion_window());
+}
+
} // namespace
} // namespace test
} // namespace quic