You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ai...@apache.org on 2009/06/22 17:08:28 UTC
svn commit: r787266 -
/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/client/QueueBrowserAutoAckTest.java
Author: aidan
Date: Mon Jun 22 15:08:28 2009
New Revision: 787266
URL: http://svn.apache.org/viewvc?rev=787266&view=rev
Log:
QPID-1914 use one queue per test so failures dont spiral
Modified:
qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/client/QueueBrowserAutoAckTest.java
Modified: qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/client/QueueBrowserAutoAckTest.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/client/QueueBrowserAutoAckTest.java?rev=787266&r1=787265&r2=787266&view=diff
==============================================================================
--- qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/client/QueueBrowserAutoAckTest.java (original)
+++ qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/client/QueueBrowserAutoAckTest.java Mon Jun 22 15:08:28 2009
@@ -53,7 +53,6 @@
{
super.setUp();
- _queue = (Queue) getInitialContext().lookup("queue");
//Create Client
_clientConnection = getConnection();
@@ -62,6 +61,8 @@
setupSession();
+ _queue = _clientSession.createQueue(getName());
+
//Ensure there are no messages on the queue to start with.
checkQueueDepth(0);
}
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org