summaryrefslogtreecommitdiff
path: root/qpid/java
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-08-20 13:09:30 +0000
committerRafael H. Schloming <rhs@apache.org>2008-08-20 13:09:30 +0000
commit6f90b620f4cec4036258133ba2b3a47e3f207ef9 (patch)
tree780b056cc3a983f4093bf05060c5f3b3c5b6d3a1 /qpid/java
parent86e4234b3de0f4b36f40d9be909169880600e1e3 (diff)
downloadqpid-python-6f90b620f4cec4036258133ba2b3a47e3f207ef9.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@687313 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/test/unit/topic/DurableSubscriptionTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/topic/DurableSubscriptionTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/topic/DurableSubscriptionTest.java
index afdade4ce2..c6a953dbc2 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/topic/DurableSubscriptionTest.java
+++ b/qpid/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