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-subscr...@qpid.apache.org