@After @SuppressForbidden(reason = "resets java.io.tmpdir") public void tearDown() throws Exception { System.setProperty("java.io.tmpdir", javaIoTmpdir); PathUtilsForTesting.teardown(); super.tearDown(); }
@Override @After public void tearDown() throws Exception { super.tearDown(); for (MockNode curNode : nodes.values()) { curNode.service.close(); } terminate(threadPool); }
@Override @After public void tearDown() throws Exception { transportService.stop(); super.tearDown(); }
@Override public void tearDown() throws Exception { super.tearDown(); ThreadPool.terminate(threadPool, 30, TimeUnit.SECONDS); }
@After public void tearDown() throws Exception { clusterService.close(); super.tearDown(); }
@Override @After public void tearDown() throws Exception { super.tearDown(); terminate(injector.getInstance(ThreadPool.class)); }
@After @Override public void tearDown() throws Exception { super.tearDown(); terminate(threadPool); }