You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2010/02/25 18:18:25 UTC
svn commit: r916356 -
/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/queue/TimeToLiveTest.java
Author: robbie
Date: Thu Feb 25 17:18:25 2010
New Revision: 916356
URL: http://svn.apache.org/viewvc?rev=916356&view=rev
Log:
QPID-2417: unsubscribe the durable subscriptions when done to delete the queues
Modified:
qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/queue/TimeToLiveTest.java
Modified: qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/queue/TimeToLiveTest.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/queue/TimeToLiveTest.java?rev=916356&r1=916355&r2=916356&view=diff
==============================================================================
--- qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/queue/TimeToLiveTest.java (original)
+++ qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/queue/TimeToLiveTest.java Thu Feb 25 17:18:25 2010
@@ -305,6 +305,7 @@
Assert.assertFalse("Final message has first set.", receivedSecond.getBooleanProperty("first"));
Assert.assertEquals("Final message has incorrect TTL.", 0L, receivedSecond.getLongProperty("TTL"));
+ clientSession.unsubscribe(getTestQueueName());
clientConnection.close();
producerConnection.close();
@@ -360,6 +361,10 @@
producer.close();
producerSession.close();
producerConnection.close();
+
+ clientSession.unsubscribe("MyDurableTTLSubscription");
+ clientSession.close();
+ clientConnection.close();
}
}
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org