/** Drop fact_without_wt table if exixsts. */ public static void dropFactIfExists() { LensFactCommands command = getCommand(); String factList = command.showFacts(null); if (factList.contains(FACT_NAME)) { command.dropFact(FACT_NAME, false); TestLensStorageCommands.dropStorage(FACT_LOCAL); } }
private void dropSampleCube() { getCubeCommand().dropCube(CUBE_NAME); TestLensStorageCommands.dropStorage(FACT_LOCAL); }
/** * Test storage commands. * * @throws IOException */ @Test public void testStorageCommands() throws IOException { addLocalStorage("local_storage_test"); testUpdateStorage("local_storage_test"); dropStorage("local_storage_test"); }