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 2014/11/12 17:25:45 UTC

[8/9] qpid-jms git commit: expect a flow for the new subscriber, avoid race with test peer shutdown

expect a flow for the new subscriber, avoid race with test peer shutdown


Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/af58ec04
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/af58ec04
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/af58ec04

Branch: refs/heads/master
Commit: af58ec04765fbdf3ab2d1473fb2a12a00ae36acf
Parents: d48d987
Author: Robert Gemmell <ro...@apache.org>
Authored: Wed Nov 12 15:32:45 2014 +0000
Committer: Robert Gemmell <ro...@apache.org>
Committed: Wed Nov 12 15:32:45 2014 +0000

----------------------------------------------------------------------
 .../org/apache/qpid/jms/integration/SessionIntegrationTest.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/af58ec04/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/SessionIntegrationTest.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/SessionIntegrationTest.java b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/SessionIntegrationTest.java
index 916a320..95dc6fc 100644
--- a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/SessionIntegrationTest.java
+++ b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/SessionIntegrationTest.java
@@ -131,6 +131,7 @@ public class SessionIntegrationTest extends QpidJmsTestCase {
             String subscriptionName = "mySubscription";
 
             testPeer.expectDurableSubscriberAttach(topicName, subscriptionName);
+            testPeer.expectLinkFlow();
 
             TopicSubscriber subscriber = session.createDurableSubscriber(dest, subscriptionName);
             assertNotNull("TopicSubscriber object was null", subscriber);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org