[hornetq-commits] JBoss hornetq SVN: r10694 - branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/util.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue May 17 22:31:13 EDT 2011
Author: clebert.suconic at jboss.com
Date: 2011-05-17 22:31:12 -0400 (Tue, 17 May 2011)
New Revision: 10694
Modified:
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/util/UnitTestCase.java
Log:
test fix
Modified: branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/util/UnitTestCase.java
===================================================================
--- branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/util/UnitTestCase.java 2011-05-17 22:03:37 UTC (rev 10693)
+++ branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/util/UnitTestCase.java 2011-05-18 02:31:12 UTC (rev 10694)
@@ -541,8 +541,7 @@
}
catch (Exception e)
{
- System.out.println("port " + port + " is already bound");
- System.exit(0);
+ throw new IllegalStateException("port " + port + " is already bound");
}
finally
{
More information about the hornetq-commits
mailing list