@Override
    public void run() {
        if (!redoService.isConnected()) {
            LogUtils.NAMING_LOGGER.warn("Grpc Connection is disconnect, skip current redo task");
            return;
        }
        try {
            redoForInstances();
            redoForSubscribes();
        } catch (Exception e) {
            LogUtils.NAMING_LOGGER.warn("Redo task run with unexpected exception: ", e);
        }
    }
@Test
    void testRunRedoRegisterInstanceWithOtherException() throws NacosException {
        Set<InstanceRedoData> mockData = generateMockInstanceData(false, false, true);
        when(redoService.findInstanceRedoData()).thenReturn(mockData);
        doThrow(new RuntimeException("test")).when(clientProxy).doRegisterService(SERVICE, GROUP, INSTANCE);
        redoTask.run();
        // Not any exception thrown
    }