ModelNode threadPool = subsystem.require("unbounded-queue-thread-pool");
assertEquals(1, threadPool.keys().size());
assertEquals("test-pool", threadPool.require("test-pool").require("name").asString());
assertEquals(100, threadPool.require("test-pool").require(MAX_THREADS).asInt());
assertEquals(1000L, threadPool.require("test-pool").require(KEEPALIVE_TIME).require(TIME).asLong());
assertEquals("MILLISECONDS", threadPool.require("test-pool").require(KEEPALIVE_TIME).require(UNIT).asString());
}
@Test
public void testSeveralUnboundedQueueThreadPools() throws Exception {
List<ModelNode> updates = createSubSystem("<unbounded-queue-thread-pool name=\"test-poolA\"><max-threads count=\"1\"/></unbounded-queue-thread-pool>"