Author: ozizka(a)redhat.com
Date: 2009-08-27 22:58:40 -0400 (Thu, 27 Aug 2009)
New Revision: 712
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/connfactories/ConnFactoryOperationsTest.java
Log:
* ConnFactoryOperationsTest updated - performListStatisticsAfterCreation() -
totalMaxConnectionsInUseCount removed - causing transient errors, as old connections are
sometimes counted.
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/connfactories/ConnFactoryOperationsTest.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/connfactories/ConnFactoryOperationsTest.java 2009-08-28
02:56:23 UTC (rev 711)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/connfactories/ConnFactoryOperationsTest.java 2009-08-28
02:58:40 UTC (rev 712)
@@ -510,7 +510,7 @@
+ jndiName);
expectedStatistics.put("subPoolCount", "0");
expectedStatistics.put("totalConnectionsInUseCount", "0");
- expectedStatistics.put("totalMaxConnectionsInUseCount",
"0");
+ //expectedStatistics.put("totalMaxConnectionsInUseCount",
"0"); // Sometimes we get 1 - old connection is counted.
performResourceOperationAndCheckTable(CF_NAV_LABEL, cfType.getLabel(), jndiName,
LIST_STATISTICS, Boolean.FALSE,
expectedStatistics);