[jboss-cvs] JBoss Messaging SVN: r6035 - trunk/tests/src/org/jboss/messaging/tests/integration/remoting.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Mar 6 18:54:20 EST 2009


Author: clebert.suconic at jboss.com
Date: 2009-03-06 18:54:20 -0500 (Fri, 06 Mar 2009)
New Revision: 6035

Modified:
   trunk/tests/src/org/jboss/messaging/tests/integration/remoting/PingTest.java
Log:
tweak

Modified: trunk/tests/src/org/jboss/messaging/tests/integration/remoting/PingTest.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/integration/remoting/PingTest.java	2009-03-06 22:20:35 UTC (rev 6034)
+++ trunk/tests/src/org/jboss/messaging/tests/integration/remoting/PingTest.java	2009-03-06 23:54:20 UTC (rev 6035)
@@ -345,6 +345,8 @@
          Thread.sleep(PING_INTERVAL);
       }
 
+      assertTrue(messagingService.getServer().getRemotingService().getConnections().isEmpty());
+
       // The client listener should be called too since the server will close it from the server side which will result
       // in the
       // netty detecting closure on the client side and then calling failure listener
@@ -352,8 +354,6 @@
 
       assertNotNull(serverListener.getException());
 
-      assertTrue(messagingService.getServer().getRemotingService().getConnections().isEmpty());
-
       session.close();
    }
 




More information about the jboss-cvs-commits mailing list