mirror of https://github.com/grpc/grpc-go.git
remove context.WithCancel which is not needed
This commit is contained in:
parent
044b2b65bc
commit
152ccd8853
|
|
@ -2504,8 +2504,7 @@ func testStreamsQuotaRecovery(t *testing.T, e env) {
|
|||
|
||||
cc := te.clientConn()
|
||||
tc := testpb.NewTestServiceClient(cc)
|
||||
ctx, _ := context.WithCancel(context.Background())
|
||||
if _, err := tc.StreamingInputCall(ctx); err != nil {
|
||||
if _, err := tc.StreamingInputCall(context.Background()); err != nil {
|
||||
t.Fatalf("%v.StreamingInputCall(_) = _, %v, want _, <nil>", tc, err)
|
||||
}
|
||||
// Loop until the new max stream setting is effective.
|
||||
|
|
|
|||
Loading…
Reference in New Issue