public void testGetGroupInfo() throws Exception { testGroupInfoForServer(tsaPort_1, true); testGroupInfoForServer(tsaPort_2, false); server_1.stop(); waitTillBecomeActive(jmxPort_2); testGroupInfoForServer(tsaPort_1, false); testGroupInfoForServer(tsaPort_2, true); }
@Override protected void tearDown() throws Exception { System.err.println("in tearDown"); if (server_1 != null && server_1.isRunning()) server_1.stop(); if (server_2 != null && server_2.isRunning()) server_2.stop(); }