diff --git a/tikv/test_util.go b/tikv/test_util.go index 116ee6f550..eb1c6d0d8c 100644 --- a/tikv/test_util.go +++ b/tikv/test_util.go @@ -59,8 +59,6 @@ func (c *CodecClient) SendRequest(ctx context.Context, addr string, req *tikvrpc if err != nil { return nil, err } - // TODO(zyguan): since unistore does not attach context yet, here we attach the context manually to make integration tests pass. - tikvrpc.AttachContext(req, req.Context) resp, err := c.Client.SendRequest(ctx, addr, req, timeout) if err != nil { return nil, err