/** * Stops all masters, including block master, fileSystem master and additional masters. */ protected void stopMasters() { try { mRegistry.stop(); } catch (IOException e) { throw new RuntimeException(e); } }
@Override public void stop() throws Exception { mRegistry.stop(); mLatch.countDown(); }
private void stopServices() throws Exception { mRegistry.stop(); } }
/** * Stops the master after a test ran. */ @After public void after() throws Exception { mRegistry.stop(); }
private void stopServices() throws Exception { mRegistry.stop(); mJournalSystem.stop(); } }
/** * Stops the master after a test ran. */ @After public void after() throws Exception { mRegistry.stop(); }
@After public void after() throws Exception { mRegistry.stop(); }
@After public void after() throws Exception { mRegistry.stop(); }
@Test public void stop() throws Exception { mRegistry.stop(); assertTrue(mExecutorService.isShutdown()); assertTrue(mExecutorService.isTerminated()); } }
/** * Tests the {@link DefaultFileSystemMaster#stop()} method. */ @Test public void stop() throws Exception { mRegistry.stop(); assertTrue(mExecutorService.isShutdown()); assertTrue(mExecutorService.isTerminated()); }
@After public void after() throws Exception { mRegistry.stop(); GroupMappingServiceTestUtils.resetCache(); ServerConfiguration.reset(); }
@AfterClass public static void afterClass() throws Exception { sRegistry.stop(); AuthenticatedClientUser.remove(); ServerConfiguration.reset(); }
/** * Stops all masters, including lineage master, block master and fileSystem master and additional * masters. */ protected void stopMasters() { try { mRegistry.stop(); } catch (IOException e) { throw Throwables.propagate(e); } }
@Override public void stop() throws Exception { mRegistry.stop(); mLatch.countDown(); }