We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 254bccb commit 57dcb71Copy full SHA for 57dcb71
interop/xds/custom_lb_test.go
@@ -66,7 +66,7 @@ func (s) TestCustomLB(t *testing.T) {
66
}
67
rpcBMD := md.Get("rpc-behavior")
68
if len(rpcBMD) != 1 {
69
- errCh.Send(errors.New("only one value received for metadata key rpc-behavior"))
+ errCh.Send(fmt.Errorf("received %d values for metadata key rpc-behavior, want 1", len(rpcBMD)))
70
return &testpb.SimpleResponse{}, nil
71
72
wantVal := "error-code-0"
0 commit comments