Author: clebert.suconic(a)jboss.com
Date: 2009-11-11 21:47:08 -0500 (Wed, 11 Nov 2009)
New Revision: 8266
Modified:
trunk/tests/src/org/hornetq/tests/integration/jms/server/JMSServerStartStopTest.java
Log:
small tweak. This test would leave servers running in case of a failure.
Modified:
trunk/tests/src/org/hornetq/tests/integration/jms/server/JMSServerStartStopTest.java
===================================================================
---
trunk/tests/src/org/hornetq/tests/integration/jms/server/JMSServerStartStopTest.java 2009-11-11
20:26:29 UTC (rev 8265)
+++
trunk/tests/src/org/hornetq/tests/integration/jms/server/JMSServerStartStopTest.java 2009-11-12
02:47:08 UTC (rev 8266)
@@ -56,7 +56,7 @@
// Constructors --------------------------------------------------
// Public --------------------------------------------------------
-
+
public void testStopStart1() throws Exception
{
final int numMessages = 5;
@@ -91,6 +91,7 @@
jbcf.close();
stop();
+
}
start();
@@ -139,6 +140,7 @@
@Override
protected void tearDown() throws Exception
{
+ liveJMSServer.stop();
liveJMSServer = null;
super.tearDown();
}