diff options
| author | Robert Gemmell <robbie@apache.org> | 2010-04-01 14:03:47 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2010-04-01 14:03:47 +0000 |
| commit | e0c9e399549bb0a0f536b45371a7a64c86e3ea1f (patch) | |
| tree | a2dcd0f84aff7825c4d018c3ba6bbfd2b5d41f70 /qpid/java | |
| parent | 40e2a06151280c481585b9449711ba0e7e498ede (diff) | |
| download | qpid-python-e0c9e399549bb0a0f536b45371a7a64c86e3ea1f.tar.gz | |
QPID-2418: revert changes to testResubscribeWithChangedSelector()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929979 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.java | 12 |
1 files changed, 1 insertions, 11 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 119949b0d6..5ead443ef1 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 @@ -538,9 +538,6 @@ public class DurableSubscriptionTest extends QpidTestCase rMsg = subA.receive(NEGATIVE_RECEIVE_TIMEOUT); assertNull(rMsg); - // Send another 1 matching message and 1 non-matching message - sendMatchingAndNonMatchingMessage(session, producer); - // Disconnect subscriber subA.close(); @@ -548,15 +545,8 @@ public class DurableSubscriptionTest extends QpidTestCase TopicSubscriber subB = session.createDurableSubscriber(topic, "testResubscribeWithChangedSelector","Match = False", false); - //verify no messages are now present as changing selector should have issued - //an unsubscribe and thus deleted the previous backing queue for the subscription. - rMsg = subB.receive(NEGATIVE_RECEIVE_TIMEOUT); - assertNull("Should not have received message as the queue underlying the " + - "subscription should have been cleared/deleted when the selector was changed", rMsg); - - // Check that new messages are received properly + // Check messages are recieved properly sendMatchingAndNonMatchingMessage(session, producer); - rMsg = subB.receive(NEGATIVE_RECEIVE_TIMEOUT); assertNotNull(rMsg); assertEquals("Content was wrong", |
