summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan Skinner <aidan@apache.org>2009-06-22 15:08:28 +0000
committerAidan Skinner <aidan@apache.org>2009-06-22 15:08:28 +0000
commit01cd3bb22d3a86bfa14777e99489fe3d395151a8 (patch)
tree3223897fae2c8782f3ac96cbfbd55f736a36093a
parent8fcb6b8e7bd4ce6337bcf06113c982664e53f14e (diff)
downloadqpid-python-01cd3bb22d3a86bfa14777e99489fe3d395151a8.tar.gz
QPID-1914 use one queue per test so failures dont spiral
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787266 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/systests/src/main/java/org/apache/qpid/test/client/QueueBrowserAutoAckTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/test/client/QueueBrowserAutoAckTest.java b/java/systests/src/main/java/org/apache/qpid/test/client/QueueBrowserAutoAckTest.java
index b09d0456a6..9a497d6da2 100644
--- a/java/systests/src/main/java/org/apache/qpid/test/client/QueueBrowserAutoAckTest.java
+++ b/java/systests/src/main/java/org/apache/qpid/test/client/QueueBrowserAutoAckTest.java
@@ -53,7 +53,6 @@ public class QueueBrowserAutoAckTest extends FailoverBaseCase
{
super.setUp();
- _queue = (Queue) getInitialContext().lookup("queue");
//Create Client
_clientConnection = getConnection();
@@ -62,6 +61,8 @@ public class QueueBrowserAutoAckTest extends FailoverBaseCase
setupSession();
+ _queue = _clientSession.createQueue(getName());
+
//Ensure there are no messages on the queue to start with.
checkQueueDepth(0);
}