150151152153154155156157158159160
@Override public void tearDown() { LocalTaskQueue ltq = getLocalTaskQueue(); if (ltq != null) { for (String queueName : ltq.getQueueStateInfo().keySet()) { ltq.flushQueue(queueName); } ltq.stop(); } }