Skip to content

Commit db81a2c

Browse files
authored
benchmark: Specify passthrough resolver to avoid resolution failures (#8231)
1 parent b368379 commit db81a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/benchmain/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ func makeClients(bf stats.Features) ([]testgrpc.BenchmarkServiceClient, func())
404404
conns := make([]*grpc.ClientConn, bf.Connections)
405405
clients := make([]testgrpc.BenchmarkServiceClient, bf.Connections)
406406
for cn := 0; cn < bf.Connections; cn++ {
407-
conns[cn] = benchmark.NewClientConn("" /* target not used */, opts...)
407+
conns[cn] = benchmark.NewClientConn("passthrough://" /* target not used */, opts...)
408408
clients[cn] = testgrpc.NewBenchmarkServiceClient(conns[cn])
409409
}
410410

0 commit comments

Comments
 (0)