}
// simple test asserting that deploy finishes correctly and the data is there
@Test
public void testLocalDeploy() throws Throwable {
SploutConfiguration testConfig = SploutConfiguration.getTestConfig();
String dataFolder = "dnode-" + this.getClass().getName() + "-4";
DNodeHandler dHandler = new DNodeHandler();
DNode dnode = TestUtils.getTestDNode(testConfig, dHandler, dataFolder);
//
DNodeService.Client client = DNodeClient.get("localhost", testConfig.getInt(DNodeProperties.PORT));
try {
DeployAction deploy = new DeployAction();
deploy.setTablespace("tablespace2");
TestUtils.createFooDatabase(FOO_DEPLOY_FOLDER, 1, "foo");
deploy.setDataURI(new File(FOO_DEPLOY_FOLDER, "foo.db").toURI().toString());