public Boolean updateNodes(List<Member> nodes) {
        for (Member node : nodes) {
            if (!node.check()) {
                LoggerUtils.printIfWarnEnabled(Loggers.CLUSTER, "node information is illegal, ignore node: {}", node);
                continue;
            }
            
            LoggerUtils.printIfDebugEnabled(Loggers.CLUSTER, "node state updating, node: {}", node);
            node.setState(NodeState.UP);
            node.setFailAccessCnt(0);
            
            boolean update = memberManager.update(node);
            if (!update) {
                LoggerUtils.printIfErrorEnabled(Loggers.CLUSTER, "node state update failed, node: {}", node);
            }
        }
        return true;
    }
@Test
    void testUpdateNodes() {
        Member member1 = new Member();
        member1.setIp("1.1.1.1");
        member1.setAddress("test");
        member1.setPort(8848);
        member1.setState(NodeState.DOWN);
        Member member2 = new Member();
        member2.setIp("2.2.2.2");
        member2.setPort(8848);
        List<Member> members = Arrays.asList(member1, member2);
        
        when(serverMemberManager.update(any())).thenReturn(true);
        Boolean result = nacosClusterOperationService.updateNodes(members);
        verify(serverMemberManager, times(1)).update(any());
        assertTrue(result);
    }