@Override
    public HashMap<String, Object> loadVGroups() {
        Instance instance = Instance.getInstance();
        String namespace = REDIS_PREFIX + instance.getNamespace();
        String clusterName = instance.getClusterName();
        try (Jedis jedis = JedisPooledFactory.getJedisInstance()) {
            Map<String, String> mappingKeyMap = jedis.hgetAll(namespace);
            HashMap<String, Object> result = new HashMap<>();
            mappingKeyMap.forEach((vgroup,clusterNameValue) -> {
                if (StringUtils.equals(clusterName, clusterNameValue)) {
                    result.put(vgroup, null);
                }
            });
            return result;
        } catch (Exception ex) {
            throw new RedisException(ex);
        }
    }
@Test
    public void testLoadVGroups() {
        Instance instance = Instance.getInstance();
        instance.setNamespace("public");
        instance.setClusterName("testCluster");
        instance.setUnit("123");
        MappingDO mappingDO = new MappingDO();
        mappingDO.setVGroup("testVGroup");
        mappingDO.setCluster("testCluster");
        mappingDO.setNamespace("public");
        redisVGroupMappingStoreManager.addVGroup(mappingDO);
        Map<String,Object> map = redisVGroupMappingStoreManager.loadVGroups();
        Assertions.assertTrue(map.containsKey("testVGroup"));
        redisVGroupMappingStoreManager.removeVGroup("testVGroup");
        map = redisVGroupMappingStoreManager.loadVGroups();
        Assertions.assertFalse(map.containsKey("testVGroup"));
    }