From db81a2cb4f1f985204df89baae29dbc0c224f9bd Mon Sep 17 00:00:00 2001 From: Arjan Singh Bal <46515553+arjan-bal@users.noreply.github.com> Date: Tue, 8 Apr 2025 09:02:40 +0530 Subject: [PATCH] benchmark: Specify passthrough resolver to avoid resolution failures (#8231) --- benchmark/benchmain/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/benchmain/main.go b/benchmark/benchmain/main.go index a29810878..39a0cc381 100644 --- a/benchmark/benchmain/main.go +++ b/benchmark/benchmain/main.go @@ -404,7 +404,7 @@ func makeClients(bf stats.Features) ([]testgrpc.BenchmarkServiceClient, func()) conns := make([]*grpc.ClientConn, bf.Connections) clients := make([]testgrpc.BenchmarkServiceClient, bf.Connections) for cn := 0; cn < bf.Connections; cn++ { - conns[cn] = benchmark.NewClientConn("" /* target not used */, opts...) + conns[cn] = benchmark.NewClientConn("passthrough://" /* target not used */, opts...) clients[cn] = testgrpc.NewBenchmarkServiceClient(conns[cn]) }