/** {@inheritDoc} */ @Override protected void tearDown() throws Exception { if (slave != null) { slave.stop(); } if (master != null) { master.stop(); } super.tearDown(); }
/** {@inheritDoc} */ @Override protected void setUp() throws Exception { master = createClusterNode("master", false); master.start(); slave = createClusterNode("slave", true); slave.start(); super.setUp(); }