No public description PiperOrigin-RevId: 653258387
diff --git a/quiche/quic/core/http/end_to_end_test.cc b/quiche/quic/core/http/end_to_end_test.cc index d65fec5..64ff5a9 100644 --- a/quiche/quic/core/http/end_to_end_test.cc +++ b/quiche/quic/core/http/end_to_end_test.cc
@@ -5531,9 +5531,10 @@ WaitForNewConnectionIds(); client_connection->OnPathDegradingDetected(); client_->SendData("bbbb", true); - // By the time the response is received, path validation should have been - // finished. client_->WaitForResponse(); + while (client_->client()->HasPendingPathValidation()) { + client_->client()->WaitForEvents(); + } QuicSocketAddress new_self_addr = client_connection->self_address(); EXPECT_NE(original_self_addr, new_self_addr); }