[memory_usage] Use a named target for the client (#33258)

Allows usage on machines that don't support ipv4.

<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
pull/33266/head
Craig Tiller 2 years ago committed by GitHub
parent 77418492fd
commit c32cbb57df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      test/core/memory_usage/memory_usage_test.cc

@ -95,7 +95,7 @@ int RunCallBenchmark(char* root, std::vector<std::string> server_scenario_flags,
absl::StrCat(root, "/memory_usage_client",
gpr_subprocess_binary_extension()),
"--target",
grpc_core::JoinHostPort("127.0.0.1", port),
grpc_core::JoinHostPort("localhost", port),
"--grpc_experiments",
std::string(grpc_core::ConfigVars::Get().Experiments()),
absl::StrCat("--warmup=", 10000),
@ -135,7 +135,7 @@ int RunChannelBenchmark(char* root) {
absl::StrCat(root, "/memory_usage_callback_client",
gpr_subprocess_binary_extension()),
"--target",
grpc_core::JoinHostPort("127.0.0.1", port),
grpc_core::JoinHostPort("localhost", port),
"--nosecure",
absl::StrCat("--server_pid=", svr.GetPID()),
absl::StrCat("--size=", absl::GetFlag(FLAGS_size))};

Loading…
Cancel
Save