@Override protected void tearDown() throws Exception { super.tearDown(); Thread.sleep(100); Configuration conf = new Configuration(); Path dir = new Path("hdfs://localhost:9000/tmp/test"); FileSystem fs = FileSystem.get(dir.toUri(), conf); fs.delete(dir, true); }
/** @throws java.lang.Exception */ @After public void tearDown() throws Exception { CamelBlueprintHelper.disposeBundleContext(bundleContext); CamelTestSupport.deleteDirectory("target/bundles"); }