gfe-relnote: (n/a) For test BbrSenderTest.SimpleTransfer2RTTAggregationBytes, relax the expectation on sender-measured min_rtt. Test only. This fixes the flakiness started from cl/290179167. PiperOrigin-RevId: 290331710 Change-Id: If2d06c515fb0f7e80ef37632dbee8893fe4972f5
diff --git a/quic/core/congestion_control/bbr_sender_test.cc b/quic/core/congestion_control/bbr_sender_test.cc index 5fe727e..fac4a34 100644 --- a/quic/core/congestion_control/bbr_sender_test.cc +++ b/quic/core/congestion_control/bbr_sender_test.cc
@@ -444,12 +444,10 @@ // overestimating bandwidth with aggregation. b/36022633 EXPECT_GE(kTestLinkBandwidth * 1.5f, sender_->ExportDebugState().max_bandwidth); - // TODO(ianswett): Expect 0 packets are lost once BBR no longer measures - // bandwidth higher than the link rate. // The margin here is high, because the aggregation greatly increases // smoothed rtt. EXPECT_GE(kTestRtt * 4, rtt_stats_->smoothed_rtt()); - EXPECT_APPROX_EQ(kTestRtt, rtt_stats_->min_rtt(), 0.2f); + EXPECT_APPROX_EQ(kTestRtt, rtt_stats_->min_rtt(), 0.5f); } // Test a simple long data transfer with 2 rtts of aggregation.