/**
* Test case for POOL-180.
*/
public void testMaxActivePerKeyExceeded() {
WaiterFactory factory = new WaiterFactory(0, 20, 0, 0, 0, 0, 8, 5, 0);
pool = new GenericKeyedObjectPool(factory);
pool.setMaxActive(5);
pool.setMaxTotal(8);
pool.setTestOnBorrow(true);
pool.setMaxIdle(5);