[jboss-cvs] JBossAS SVN: r60378 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Feb 7 10:49:32 EST 2007
Author: weston.price at jboss.com
Date: 2007-02-07 10:49:32 -0500 (Wed, 07 Feb 2007)
New Revision: 60378
Modified:
branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test/BaseConnectionManagerUnitTestCase.java
Log:
[JBAS-3911][JBAS-4016] Fixed testsuite rolled back to previous behavior
until it can be reconsidered.
Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test/BaseConnectionManagerUnitTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test/BaseConnectionManagerUnitTestCase.java 2007-02-07 15:48:20 UTC (rev 60377)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test/BaseConnectionManagerUnitTestCase.java 2007-02-07 15:49:32 UTC (rev 60378)
@@ -227,31 +227,6 @@
}
}
- public void testMisConfiguredFillToMin() throws Exception
- {
- InternalManagedConnectionPool.PoolParams pp = new InternalManagedConnectionPool.PoolParams();
- pp.minSize = 6;
- pp.maxSize = 5;
- pp.blockingTimeout = 10;
- pp.idleTimeout = 2000;
- BaseConnectionManager2 cm = getCM(pp);
- try
- {
- ConnectionListener cl = cm.getManagedConnection(subject, cri);
- cm.returnManagedConnection(cl, false);
- // Allow fill to min to work
- Thread.sleep(1000);
- assertTrue("Wrong number of connections counted: " + cm.getConnectionCount(), cm.getConnectionCount() == pp.maxSize);
- // Allow the idle remover to work
- Thread.sleep(3000);
- assertTrue("Wrong number of connections counted: " + cm.getConnectionCount(), cm.getConnectionCount() == pp.maxSize);
- }
- finally
- {
- shutdown(cm);
- }
- }
-
public void testChangedMaximum() throws Exception
{
InternalManagedConnectionPool.PoolParams pp = new InternalManagedConnectionPool.PoolParams();
More information about the jboss-cvs-commits
mailing list