919293949596979899100101
Thread.sleep(1000L); } catch (InterruptedException ie) { } Assert.assertTrue(worker.isShutdown()); } finally { adminClient.end(); } } finally { TestUtils.stopWorker(admin, adminThread); TestUtils.stopWorker(worker, workerThread); }