MCPcopy
hub / github.com/grpc/grpc-go / TestGRPCLBEmptyServerListPickFirst

Method TestGRPCLBEmptyServerListPickFirst

balancer/grpclb/grpclb_test.go:1287–1289  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1285}
1286
1287func (s) TestGRPCLBEmptyServerListPickFirst(t *testing.T) {
1288 testGRPCLBEmptyServerList(t, `{"loadBalancingConfig":[{"grpclb":{"childPolicy":[{"pick_first":{}}]}}]}`)
1289}
1290
1291func (s) TestGRPCLBWithTargetNameFieldInConfig(t *testing.T) {
1292 r := manual.NewBuilderWithScheme("whatever")

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected