Add some additional test cleanup
This commit is contained in:
Timothy Bish 2016-05-16 13:58:14 -04:00
parent d9c4048292
commit 2a10e9900a
1 changed files with 12 additions and 0 deletions

View File

@ -63,6 +63,18 @@ public class Stomp11Test extends StompTestSupport {
connection.start();
}
@Override
public void tearDown() throws Exception {
try {
if (connection != null) {
connection.close();
connection = null;
}
} catch (Exception ex) {}
super.tearDown();
}
@Test(timeout = 60000)
public void testConnect() throws Exception {