private ConfigData buildConfigPs(final int num) {

        ConfigData userData = new ConfigData() {
            @Override
            public String getData() {
                List<String> providerInfos = new ArrayList<String>();
                for (int i = 0; i < num; i++) {
                    providerInfos.add("127.0.0.1:" + (20000 + i));
                }

                return CommonUtils.join(providerInfos, "#");
            }
        };

        return userData;
    }
build config data
@param num
@return
registry/registry-sofa/src/test/java/com/alipay/sofa/rpc/registry/sofa/SofaRegistrySubscribeCallbackTest.java