Add a few EXPECTs to Bbr2SimulatorTests for B204 to ensure the max ack height is smaller with this connection option.
PiperOrigin-RevId: 401053757
diff --git a/quic/core/congestion_control/bbr2_simulator_test.cc b/quic/core/congestion_control/bbr2_simulator_test.cc
index 4b59a55..fc43997 100644
--- a/quic/core/congestion_control/bbr2_simulator_test.cc
+++ b/quic/core/congestion_control/bbr2_simulator_test.cc
@@ -939,6 +939,7 @@
EXPECT_APPROX_EQ(params.test_link.bandwidth,
sender_->ExportDebugState().bandwidth_est, 0.1f);
EXPECT_LE(sender_loss_rate_in_packets(), 0.25);
+ EXPECT_LE(sender_->ExportDebugState().max_ack_height, 2000u);
// Now increase the bottleneck bandwidth from 100Kbps to 10Mbps.
params.test_link.bandwidth = QuicBandwidth::FromKBitsPerSecond(10000);
@@ -979,6 +980,7 @@
EXPECT_APPROX_EQ(params.test_link.bandwidth,
sender_->ExportDebugState().bandwidth_est, 0.50f);
EXPECT_LE(sender_loss_rate_in_packets(), 0.35);
+ EXPECT_LE(sender_->ExportDebugState().max_ack_height, 10000u);
// Now increase the bottleneck bandwidth from 100Kbps to 10Mbps.
params.test_link.bandwidth = QuicBandwidth::FromKBitsPerSecond(10000);