sends two unary calls. The server asserts that the calls use different connections.
(ctx context.Context, tc testgrpc.TestServiceClient)
| 70 | |
| 71 | // sends two unary calls. The server asserts that the calls use different connections. |
| 72 | func goaway(ctx context.Context, tc testgrpc.TestServiceClient) { |
| 73 | interop.DoLargeUnaryCall(ctx, tc) |
| 74 | // sleep to ensure that the client has time to recv the GOAWAY. |
| 75 | // TODO(ncteisen): make this less hacky. |
| 76 | time.Sleep(1 * time.Second) |
| 77 | interop.DoLargeUnaryCall(ctx, tc) |
| 78 | } |
| 79 | |
| 80 | func rstAfterHeader(tc testgrpc.TestServiceClient) { |
| 81 | req := largeSimpleRequest() |
no test coverage detected