Author: ozizka(a)redhat.com
Date: 2009-09-01 04:03:38 -0400 (Tue, 01 Sep 2009)
New Revision: 728
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/connfactories/ConnFactoryMetricsTest.java
Log:
* ConnFactoryMetricsTest fixed - MAX_CONNECTIONS_IN_USE_COUNT was causing transient
failures (sometimes old connections were counted).
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/connfactories/ConnFactoryMetricsTest.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/connfactories/ConnFactoryMetricsTest.java 2009-09-01
08:02:58 UTC (rev 727)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/connfactories/ConnFactoryMetricsTest.java 2009-09-01
08:03:38 UTC (rev 728)
@@ -248,7 +248,7 @@
expectedMetrics.put(CONNECTION_CREATED_COUNT, "6");
expectedMetrics.put(CONNECTION_DESTROYED_COUNT, "0");
expectedMetrics.put(IN_USE_CONNECTION_COUNT, "6");
- //expectedMetrics.put(MAX_CONNECTIONS_IN_USE_COUNT, "6");
+ //expectedMetrics.put(MAX_CONNECTIONS_IN_USE_COUNT, "6"); // Was
causing transient failures (sometimes old connections were counted).
expectedMetrics.put(MAX_SIZE, "20");
expectedMetrics.put(MIN_SIZE, "5");
Show replies by date