public static ConfigurationEntry getConfEntry(final String confStr, final String oldConfStr) {
        ConfigurationEntry entry = new ConfigurationEntry();
        entry.setConf(JRaftUtils.getConfiguration(confStr));
        entry.setOldConf(JRaftUtils.getConfiguration(oldConfStr));
        return entry;
    }
Test helper

@author boyan (boyan@alibaba-inc.com)

        2018-Apr-11 10:16:07 AM
jraft-extension/bdb-log-storage-impl/src/test/java/com/alipay/sofa/jraft/test/TestUtils.java