Automated change: Fix sanity tests

pull/37865/head^2
ctiller 2 months ago committed by github-actions[bot]
parent 1f7efd8e39
commit 17c1571329
  1. 11
      src/core/ext/transport/chaotic_good/server_transport.cc

@ -145,12 +145,11 @@ auto ChaoticGoodServerTransport::SendCallBody(
CallInitiator call_initiator) {
// Continuously send client frame with client to server
// messages.
return ForEach(
OutgoingMessages(call_initiator),
return ForEach(OutgoingMessages(call_initiator),
// Capture the call_initator to ensure the underlying call
// spine is alive until the SendFragment promise completes.
[stream_id, outgoing_frames,
aligned_bytes = aligned_bytes_](MessageHandle message) mutable {
[stream_id, outgoing_frames, aligned_bytes = aligned_bytes_](
MessageHandle message) mutable {
ServerFragmentFrame frame;
// Construct frame header (flags, header_length
// and trailer_length will be added in
@ -161,8 +160,8 @@ auto ChaoticGoodServerTransport::SendCallBody(
? 0
: aligned_bytes - (message_length % aligned_bytes);
CHECK_EQ((message_length + padding) % aligned_bytes, 0u);
frame.message =
FragmentMessage(std::move(message), padding, message_length);
frame.message = FragmentMessage(std::move(message), padding,
message_length);
frame.stream_id = stream_id;
return SendFragment(std::move(frame), outgoing_frames);
});

Loading…
Cancel
Save