[hornetq-commits] JBoss hornetq SVN: r9842 - branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/integration/client.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Nov 4 04:02:26 EDT 2010
Author: ataylor
Date: 2010-11-04 04:02:21 -0400 (Thu, 04 Nov 2010)
New Revision: 9842
Modified:
branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/integration/client/FailureDeadlockTest.java
Log:
test fix
Modified: branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/integration/client/FailureDeadlockTest.java
===================================================================
--- branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/integration/client/FailureDeadlockTest.java 2010-11-04 01:25:11 UTC (rev 9841)
+++ branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/integration/client/FailureDeadlockTest.java 2010-11-04 08:02:21 UTC (rev 9842)
@@ -194,7 +194,15 @@
rc1.fail(new HornetQException(HornetQException.NOT_CONNECTED, "blah"));
- Session sess2 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE);
+ try
+ {
+ Session sess2 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE);
+ fail("should throw exception");
+ }
+ catch (JMSException e)
+ {
+ //pass
+ }
conn1.close();
}
More information about the hornetq-commits
mailing list