@Override
    public void cancel(ExecutionAttemptID executionAttemptId) {
        cancelLogicalSlotRequest(executionAttemptId.getExecutionVertexId(), null);
    }
@Test
    void
            testCompletedLogicalSlotCancelationDoesNotCancelPhysicalSlotRequestAndDoesNotRemoveSharedSlot()
                    throws Exception {
        // physical slot request is completed and completes logical requests
        testLogicalSlotRequestCancellationOrRelease(
                false,
                false,
                (context, assignment) -> {
                    context.getAllocator().cancel(assignment.getExecutionAttemptId());
                    assignment.getLogicalSlotFuture().get();
                });
    }