[jboss-cvs] JBossAS SVN: r61028 - branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/stateful/unit.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Mar 1 07:59:06 EST 2007


Author: wolfc
Date: 2007-03-01 07:59:06 -0500 (Thu, 01 Mar 2007)
New Revision: 61028

Modified:
   branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/stateful/unit/RemoteUnitTestCase.java
Log:
More logging

Modified: branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/stateful/unit/RemoteUnitTestCase.java
===================================================================
--- branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/stateful/unit/RemoteUnitTestCase.java	2007-03-01 12:58:30 UTC (rev 61027)
+++ branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/stateful/unit/RemoteUnitTestCase.java	2007-03-01 12:59:06 UTC (rev 61028)
@@ -335,7 +335,9 @@
       ObjectName objectName = new ObjectName("jboss.jca:service=CachedConnectionManager");
       int inUseConnections = (Integer)server.getAttribute(objectName, "InUseConnections");
       System.out.println("inUseConnections \n" + inUseConnections);
-      assertEquals(0, inUseConnections);
+      if(inUseConnections != 0)
+         printStats(server);
+      assertEquals("CachedConnectionManager.InUseConnections", 0, inUseConnections);
       
       //activate
       entity = stateful.loadEntity(entity.getId());




More information about the jboss-cvs-commits mailing list