diff --git a/fe/fe-core/src/test/java/org/apache/doris/utframe/MockedBackendFactory.java b/fe/fe-core/src/test/java/org/apache/doris/utframe/MockedBackendFactory.java index efab82c9aa1f40c..9578560876e614c 100644 --- a/fe/fe-core/src/test/java/org/apache/doris/utframe/MockedBackendFactory.java +++ b/fe/fe-core/src/test/java/org/apache/doris/utframe/MockedBackendFactory.java @@ -336,7 +336,8 @@ public void transmitData(InternalService.PTransmitDataParams request, } @Override - public void execPlanFragment(InternalService.PExecPlanFragmentRequest request, StreamObserver responseObserver) { + public void execPlanFragment(InternalService.PExecPlanFragmentRequest request, + StreamObserver responseObserver) { System.out.println("get exec_plan_fragment request"); responseObserver.onNext(InternalService.PExecPlanFragmentResult.newBuilder() .setStatus(Types.PStatus.newBuilder().setStatusCode(0)).build()); @@ -344,7 +345,17 @@ public void execPlanFragment(InternalService.PExecPlanFragmentRequest request, S } @Override - public void cancelPlanFragment(InternalService.PCancelPlanFragmentRequest request, StreamObserver responseObserver) { + public void execPlanFragmentStart(InternalService.PExecPlanFragmentStartRequest request, + StreamObserver responseObserver) { + System.out.println("get exec_plan_fragment_start request"); + responseObserver.onNext(InternalService.PExecPlanFragmentResult.newBuilder() + .setStatus(Types.PStatus.newBuilder().setStatusCode(0)).build()); + responseObserver.onCompleted(); + } + + @Override + public void cancelPlanFragment(InternalService.PCancelPlanFragmentRequest request, + StreamObserver responseObserver) { System.out.println("get cancel_plan_fragment request"); responseObserver.onNext(InternalService.PCancelPlanFragmentResult.newBuilder() .setStatus(Types.PStatus.newBuilder().setStatusCode(0)).build());