Added NPE checking for test case. Still failing though.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@427037 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian T. Co 2006-07-31 07:48:58 +00:00
parent f4d37277d3
commit bc71842394
1 changed files with 7 additions and 3 deletions

View File

@ -61,10 +61,14 @@ public class TwoBrokerMulticastQueueTest extends CombinationTestSupport {
}
public void tearDown() throws Exception {
for (int i=0; i<BROKER_COUNT; i++) {
brokers[i].stop();
if (brokers != null) {
for (int i=0; i<BROKER_COUNT; i++) {
if (brokers[i] != null) {
brokers[i].stop();
}
}
super.tearDown();
}
super.tearDown();
}
private void doSendReceiveTest() throws Exception {