mirror of https://github.com/apache/activemq.git
[no jira] tidy up test teardown - prevent subsequent ci failures in error
This commit is contained in:
parent
25f112c5c9
commit
30d3162982
|
@ -265,10 +265,15 @@ public class CompressionOverNetworkTest {
|
|||
}
|
||||
|
||||
protected void doTearDown() throws Exception {
|
||||
localConnection.close();
|
||||
remoteConnection.close();
|
||||
localBroker.stop();
|
||||
remoteBroker.stop();
|
||||
try {
|
||||
localConnection.close();
|
||||
remoteConnection.close();
|
||||
} catch (Exception ignored) {}
|
||||
try {
|
||||
localBroker.stop();
|
||||
} finally {
|
||||
remoteBroker.stop();
|
||||
}
|
||||
}
|
||||
|
||||
protected void doSetUp(boolean deleteAllMessages) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue