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 2016/03/29 11:04:22 UTC

qpid-jms git commit: QPIDJMS-157: expect links to detach after timeout, avoid race to shut down the test peer

Repository: qpid-jms
Updated Branches:
  refs/heads/master d0dcc4a26 -> 3c0f4117b


QPIDJMS-157: expect links to detach after timeout, avoid race to shut down the test peer


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

Branch: refs/heads/master
Commit: 3c0f4117baf3554165376fa028a28cacc6507e72
Parents: d0dcc4a
Author: Robert Gemmell <ro...@apache.org>
Authored: Tue Mar 29 10:03:32 2016 +0100
Committer: Robert Gemmell <ro...@apache.org>
Committed: Tue Mar 29 10:03:32 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/3c0f4117/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 ffb59b9..2a52ce8 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
@@ -393,6 +393,7 @@ public class SessionIntegrationTest extends QpidJmsTestCase {
 
             testPeer.expectBegin();
             testPeer.expectTempQueueCreationAttach(null, false);
+            testPeer.expectDetach(true, false, true);
 
             Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
 
@@ -487,6 +488,7 @@ public class SessionIntegrationTest extends QpidJmsTestCase {
 
             testPeer.expectBegin();
             testPeer.expectTempTopicCreationAttach(null, false);
+            testPeer.expectDetach(true, false, true);
 
             Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
 


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