[jboss-cvs] JBoss Messaging SVN: r5545 - branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Dec 19 05:34:38 EST 2008


Author: gaohoward
Date: 2008-12-19 05:34:38 -0500 (Fri, 19 Dec 2008)
New Revision: 5545

Modified:
   branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/JMSTestCase.java
Log:
Let checkNotEmpty() get called only when server 0 is started.


Modified: branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/JMSTestCase.java
===================================================================
--- branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/JMSTestCase.java	2008-12-19 05:17:24 UTC (rev 5544)
+++ branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/JMSTestCase.java	2008-12-19 10:34:38 UTC (rev 5545)
@@ -123,13 +123,13 @@
          {
             fail("Message Data exists");
          }
+
+         checkNotEmpty();
       }
 
       // This will tell us if any connections have been left open
       assertEquals(0, ResourceManagerFactory.instance.size());
 
-      checkNotEmpty();
-
    }
 
    public JMSTestCase(final String name)




More information about the jboss-cvs-commits mailing list