public static void fillBackendsOrComputeNodes(List<TNetworkAddress> nodes) {
        List<Backend> backends = GlobalStateMgr.getCurrentState().getNodeMgr().getClusterInfo().getBackends();
        for (Backend backend : backends) {
            nodes.add(backend.getBrpcAddress());
        }

        List<ComputeNode> computeNodes = GlobalStateMgr.getCurrentState().getNodeMgr().getClusterInfo().getComputeNodes();
        for (ComputeNode cn : computeNodes) {
            nodes.add(cn.getBrpcAddress());
        }
    }
@Test
    public void testGetBeOrCn() throws Exception {
        List<TNetworkAddress> nodes = Lists.newArrayList();
        dictionaryMgr.fillBackendsOrComputeNodes(nodes);
    }