@Before
    public void setup() throws FailStoreException {
        Config config = new Config();
        config.setIdentity("testIdentity");
        config.setDataPath(Constants.USER_HOME);
        config.setNodeGroup("test");
        config.setNodeType(NodeType.JOB_CLIENT);
        failStore = new MapdbFailStoreFactory().getFailStore(config,
                getFailStorePath(config));
        failStore.open();
    }
@author Robert HG (254963746@qq.com) on 11/10/15.
lts-core/src/test/java/com/github/ltsopensource/core/failstore/mapdb/MapdbFailStoreTest.java