[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-commits
Subject: svn commit: r427037 -
From: aco () apache ! org
Date: 2006-07-31 7:48:58
Message-ID: 20060731074859.500851A981A () eris ! apache ! org
[Download RAW message or body]
Author: aco
Date: Mon Jul 31 00:48:58 2006
New Revision: 427037
URL: http://svn.apache.org/viewvc?rev=427037&view=rev
Log:
Added NPE checking for test case. Still failing though.
Modified:
incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerMulticastQueueTest.java
Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerMulticastQueueTest.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/test/java \
/org/apache/activemq/usecases/TwoBrokerMulticastQueueTest.java?rev=427037&r1=427036&r2=427037&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerMulticastQueueTest.java \
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerMulticastQueueTest.java \
Mon Jul 31 00:48:58 2006 @@ -61,10 +61,14 @@
}
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 {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic