mirror of https://github.com/apache/activemq.git
Handle exceptions described in AMQ-5372 to avoid cascading test failures
This commit is contained in:
parent
023b0f1987
commit
8163b0b95e
|
@ -58,7 +58,10 @@ public abstract class EmbeddedBrokerTestSupport extends CombinationTestSupport {
|
|||
|
||||
protected void tearDown() throws Exception {
|
||||
if (broker != null) {
|
||||
try {
|
||||
broker.stop();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -182,7 +182,10 @@ public abstract class UdpTestSupport extends TestCase implements TransportListen
|
|||
|
||||
protected void tearDown() throws Exception {
|
||||
if (producer != null) {
|
||||
try {
|
||||
producer.stop();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
}
|
||||
if (consumer != null) {
|
||||
consumer.stop();
|
||||
|
|
Loading…
Reference in New Issue