@AfterClass public static void shutdown() throws Exception { pc.releaseExternalResources(); serverThread.setShutdown(true); try { Thread.sleep(500L); } catch (Exception e) {; } }
@BeforeClass public static void setUp() throws Exception { pc = new ParallelClient(); serverThread = new TcpServerThread(false); serverThread.start(); try { Thread.sleep(500L); } catch (Exception e) {; } }