Skip to content

Commit

Permalink
interop/xds: improve error message (#6614)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya-Sood authored Sep 11, 2023
1 parent 254bccb commit 57dcb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interop/xds/custom_lb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (s) TestCustomLB(t *testing.T) {
}
rpcBMD := md.Get("rpc-behavior")
if len(rpcBMD) != 1 {
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)))
return &testpb.SimpleResponse{}, nil
}
wantVal := "error-code-0"
Expand Down

0 comments on commit 57dcb71

Please sign in to comment.