// stop execution
VoltDB.instance().shutdown(server);
}*/
public void testDateInsertionAsLong() throws UnknownHostException, IOException, ProcCallException, InterruptedException {
TPCCProjectBuilder builder = new TPCCProjectBuilder();
builder.addDefaultSchema();
builder.addDefaultPartitioning();
System.out.println("\n\n\n STARTING STMT PROC ADD\n\n\n");
builder.addStmtProcedure("InsertHistory", "INSERT INTO HISTORY VALUES (?, ?, ?, ?, ?, ?, ?, ?);", "HISTORY.H_W_ID: 4");
String testDir = BuildDirectoryUtils.getBuildDirectoryPath();
String catalogJar = testDir + File.separator + "tpcchsql.jar";
builder.compile(catalogJar, 1, 1, 0, "localhost");
ServerThread server = new ServerThread(catalogJar, BackendTarget.HSQLDB_BACKEND);
server.start();
server.waitForInitialization();