pp.idleTimeout = 10;
pp.idleTimeout = 100;
   public void testIdleTimeout() throws Exception   {      FBManagedConnectionFactory mcf = initMcf();//new FBManagedConnectionFactory();      ManagedConnectionPool.PoolParams pp = new ManagedConnectionPool.PoolParams();      pp.minSize = 0;      pp.maxSize = 5;      pp.blockingTimeout = 10;      pp.idleTimeout = 10;      ConnectionRequestInfo cri = mcf.getDefaultConnectionRequestInfo();      final FBPoolingConnectionManager cm = new FBPoolingConnectionManager(pp, mcf);      Collection mcs = new ArrayList(pp.maxSize);      for (int i = 0 ; i < pp.maxSize; i++)      {         mcs.add(cm.getManagedConnection(cri));      } // end of for ()      for (Iterator i =  mcs.iterator(); i.hasNext(); )      {         cm.returnManagedConnection((ManagedConnection)i.next(), false);      } // end of for ()            assertTrue("Wrong number of connections counted: " + cm.getConnectionCount(), cm.getConnectionCount() == pp.maxSize);      Thread.sleep((long)pp.idleTimeout * 10);      //      cm.removeTimedOut();      assertTrue("Wrong number of connections counted: " + cm.getConnectionCount(), cm.getConnectionCount() == 0);         }