SploutConfiguration config1 = SploutConfiguration.getTestConfig();
SploutConfiguration config2 = SploutConfiguration.getTestConfig();
// since #12 and #7 we must disable replica balancing which is enabled for testing to fail the deploy
config.setProperty(QNodeProperties.REPLICA_BALANCE_ENABLE, false);
config.setProperty(QNodeProperties.DEPLOY_SECONDS_TO_CHECK_ERROR, 1); // this has to be quick for testing
DNodeHandler dHandler = new DNodeHandler();
DNode dnode1 = TestUtils
.getTestDNode(config1, dHandler, "dnode-" + this.getClass().getName() + "-1");
StuckInDeployHandler stuck = new StuckInDeployHandler();
DNode dnode2 = TestUtils.getTestDNode(config2, stuck, "dnode-" + this.getClass().getName() + "-2");