[hornetq-commits] JBoss hornetq SVN: r9966 - trunk/tests/src/org/hornetq/tests/util.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Dec 1 12:53:34 EST 2010


Author: clebert.suconic at jboss.com
Date: 2010-12-01 12:53:34 -0500 (Wed, 01 Dec 2010)
New Revision: 9966

Modified:
   trunk/tests/src/org/hornetq/tests/util/UnitTestCase.java
Log:
small tweak

Modified: trunk/tests/src/org/hornetq/tests/util/UnitTestCase.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/util/UnitTestCase.java	2010-12-01 17:49:16 UTC (rev 9965)
+++ trunk/tests/src/org/hornetq/tests/util/UnitTestCase.java	2010-12-01 17:53:34 UTC (rev 9966)
@@ -784,14 +784,12 @@
          {
             if (stackTraceElement.getMethodName().contains("getConnectionWithRetry"))
             {
-               System.out.println(this.getName() + " has left threads running");
-               System.out.println(threadDump("Thread : " + thread +
-                                             ", name = " +
+               System.out.println(threadDump(this.getName() + " has left threads running. Look at thread " +
                                              thread.getName() +
                                              " id = " +
                                              thread.getId() +
                                              " has running locators on test " +
-                                             this.getName()));
+                                             this.getName() + " on this following dump"));
                fail("test left serverlocator running, this could effect other tests");
                // System.exit(0);
             }



More information about the hornetq-commits mailing list