} catch (InterruptedException ie) {
}
Assert.assertTrue(worker.isPaused());
Assert.assertFalse(worker.isShutdown());
adminClient.shutdownWorkers(true);
try {
Thread.sleep(1000L);
} catch (InterruptedException ie) {
}
Assert.assertTrue(worker.isShutdown());