diff options
author | Rafael H. Schloming <rhs@apache.org> | 2008-08-20 13:09:30 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2008-08-20 13:09:30 +0000 |
commit | f3ee37b2d37cd22b1499583fdc57b2e88f02a11b (patch) | |
tree | 26d348f5781c31be03ad947f12b8b11a74385c61 | |
parent | f7a0ffdb957c34e93150db08d547a3c42e4cc90a (diff) | |
download | qpid-python-f3ee37b2d37cd22b1499583fdc57b2e88f02a11b.tar.gz |
QPID-1252: remove the durable subscription when done with it, and increased another timeout
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687313 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/systests/src/main/java/org/apache/qpid/test/unit/topic/DurableSubscriptionTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/test/unit/topic/DurableSubscriptionTest.java b/java/systests/src/main/java/org/apache/qpid/test/unit/topic/DurableSubscriptionTest.java index afdade4ce2..c6a953dbc2 100644 --- a/java/systests/src/main/java/org/apache/qpid/test/unit/topic/DurableSubscriptionTest.java +++ b/java/systests/src/main/java/org/apache/qpid/test/unit/topic/DurableSubscriptionTest.java @@ -394,8 +394,9 @@ public class DurableSubscriptionTest extends QpidTestCase "testResubscribeWithChangedSelector2", ((TextMessage) rMsg).getText()); - rMsg = subB.receive(250); + rMsg = subB.receive(1000); assertNull(rMsg); + session.unsubscribe("testResubscribeWithChangedSelector"); } private void sendMatchingAndNonMatchingMessage(Session session, MessageProducer producer) throws JMSException |