summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2008-08-08 12:20:10 +0000
committerMartin Ritchie <ritchiem@apache.org>2008-08-08 12:20:10 +0000
commitcc3240f1986ec2dc4886b75358f0c70a90a8e26c (patch)
tree7f312c05294c859c81e12ea49cbe239aafe51655 /java
parent1af47c409e67c090b016463798bd4bfea8d0653d (diff)
downloadqpid-python-cc3240f1986ec2dc4886b75358f0c70a90a8e26c.tar.gz
QPID-1223 : added ApplicationRegistry.remove. Need to convert to QTC.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@683950 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/systests/src/main/java/org/apache/qpid/server/queue/TimeToLiveTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/server/queue/TimeToLiveTest.java b/java/systests/src/main/java/org/apache/qpid/server/queue/TimeToLiveTest.java
index 49e130fc5b..c60748b5cb 100644
--- a/java/systests/src/main/java/org/apache/qpid/server/queue/TimeToLiveTest.java
+++ b/java/systests/src/main/java/org/apache/qpid/server/queue/TimeToLiveTest.java
@@ -30,6 +30,7 @@ import org.apache.qpid.client.AMQDestination;
import org.apache.qpid.jndi.PropertiesFileInitialContextFactory;
import org.apache.qpid.url.URLSyntaxException;
import org.apache.qpid.AMQException;
+import org.apache.qpid.server.registry.ApplicationRegistry;
import org.apache.log4j.Logger;
import javax.jms.JMSException;
@@ -82,7 +83,8 @@ public class TimeToLiveTest extends TestCase
{
if (usingInVMBroker())
{
- TransportConnection.killAllVMBrokers();
+ TransportConnection.killVMBroker(1);
+ ApplicationRegistry.remove(1);
}
super.tearDown();
}