From 5175edefb2e1fae002de0f6582daae3cfde8b3cb Mon Sep 17 00:00:00 2001 From: Weizhen Wang Date: Wed, 24 May 2023 14:36:34 +0800 Subject: [PATCH] update Signed-off-by: Weizhen Wang --- internal/locate/region_request_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/locate/region_request_test.go b/internal/locate/region_request_test.go index edd013ca8..b587e6c0f 100644 --- a/internal/locate/region_request_test.go +++ b/internal/locate/region_request_test.go @@ -508,6 +508,10 @@ func (s *mockTikvGrpcServer) GetDisaggConfig(context.Context, *disaggregated.Get return nil, errors.New("unreachable") } +func (s *mockTikvGrpcServer) CancelDisaggTask(context.Context, *disaggregated.CancelDisaggTaskRequest) (*disaggregated.CancelDisaggTaskResponse, error) { + return nil, errors.New("unreachable") +} + func (s *testRegionRequestToSingleStoreSuite) TestNoReloadRegionForGrpcWhenCtxCanceled() { // prepare a mock tikv grpc server addr := "localhost:56341"