[hornetq-commits] JBoss hornetq SVN: r8049 - trunk/tests/src/org/hornetq/tests/integration/client.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Oct 6 04:25:32 EDT 2009
Author: timfox
Date: 2009-10-06 04:25:32 -0400 (Tue, 06 Oct 2009)
New Revision: 8049
Modified:
trunk/tests/src/org/hornetq/tests/integration/client/FailureDeadlockTest.java
Log:
fixed test
Modified: trunk/tests/src/org/hornetq/tests/integration/client/FailureDeadlockTest.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/integration/client/FailureDeadlockTest.java 2009-10-05 23:35:09 UTC (rev 8048)
+++ trunk/tests/src/org/hornetq/tests/integration/client/FailureDeadlockTest.java 2009-10-06 08:25:32 UTC (rev 8049)
@@ -187,16 +187,8 @@
rc1.fail(new HornetQException(HornetQException.NOT_CONNECTED, "blah"));
- try
- {
- Session sess2 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE);
- fail("Should throw exception");
- }
- catch (JMSException e)
- {
- //Ok
- }
-
+ Session sess2 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE);
+
conn1.close();
}
}
More information about the hornetq-commits
mailing list