Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Jan 7, 2025
1 parent 9edaf80 commit a35983d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion test/core/client_channel/bm_client_channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ class ClientChannelTraits {
return Arena::MakePooledForOverwrite<ServerMetadata>();
}

MessageHandle MakePayload() { return Arena::MakePooled<Message>(); }
MessageHandle MakePayload(uint32_t flags) {
return Arena::MakePooled<Message>(SliceBuffer(), flags);
}

ServerMetadataHandle MakeServerTrailingMetadata() {
auto md = Arena::MakePooledForOverwrite<ServerMetadata>();
Expand Down
4 changes: 3 additions & 1 deletion test/core/transport/call_spine_benchmarks.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ class UnstartedCallDestinationFixture {
return traits_->MakeServerInitialMetadata();
}

MessageHandle MakePayload() { return traits_->MakePayload(); }
MessageHandle MakePayload(uint32_t flags) {
return traits_->MakePayload(flags);
}

ServerMetadataHandle MakeServerTrailingMetadata() {
return traits_->MakeServerTrailingMetadata();
Expand Down

0 comments on commit a35983d

Please sign in to comment.