Modify remaining usecases in test/cpp

pull/17232/head
Yash Tibrewal 6 years ago
parent 626f1c9d53
commit a60fd359cb
  1. 3
      test/cpp/microbenchmarks/bm_call_create.cc
  2. 5
      test/cpp/microbenchmarks/fullstack_fixtures.h
  3. 5
      test/cpp/performance/writes_per_rpc_test.cc

@ -135,7 +135,8 @@ static void BM_LameChannelCallCreateCpp(benchmark::State& state) {
"", "",
grpc_lame_client_channel_create("localhost:1234", grpc_lame_client_channel_create("localhost:1234",
GRPC_STATUS_UNAUTHENTICATED, "blah"), GRPC_STATUS_UNAUTHENTICATED, "blah"),
nullptr)); std::vector<std::unique_ptr<
grpc::experimental::ClientInterceptorFactoryInterface>>()));
grpc::CompletionQueue cq; grpc::CompletionQueue cq;
grpc::testing::EchoRequest send_request; grpc::testing::EchoRequest send_request;
grpc::testing::EchoResponse recv_response; grpc::testing::EchoResponse recv_response;

@ -218,7 +218,10 @@ class EndpointPairFixture : public BaseFixture {
"target", &c_args, GRPC_CLIENT_DIRECT_CHANNEL, client_transport_); "target", &c_args, GRPC_CLIENT_DIRECT_CHANNEL, client_transport_);
grpc_chttp2_transport_start_reading(client_transport_, nullptr, nullptr); grpc_chttp2_transport_start_reading(client_transport_, nullptr, nullptr);
channel_ = CreateChannelInternal("", channel, nullptr); channel_ = CreateChannelInternal(
"", channel,
std::vector<std::unique_ptr<
experimental::ClientInterceptorFactoryInterface>>());
} }
} }

@ -118,7 +118,10 @@ class EndpointPairFixture {
"target", &c_args, GRPC_CLIENT_DIRECT_CHANNEL, transport); "target", &c_args, GRPC_CLIENT_DIRECT_CHANNEL, transport);
grpc_chttp2_transport_start_reading(transport, nullptr, nullptr); grpc_chttp2_transport_start_reading(transport, nullptr, nullptr);
channel_ = CreateChannelInternal("", channel, nullptr); channel_ = CreateChannelInternal(
"", channel,
std::vector<std::unique_ptr<
experimental::ClientInterceptorFactoryInterface>>());
} }
} }

Loading…
Cancel
Save