add check for temp queue terminus durability
Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/54b7d684 Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/54b7d684 Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/54b7d684 Branch: refs/heads/master Commit: 54b7d6848cbad35ff4a3d10603df6a62a1ea05d5 Parents: 4ac18b1 Author: Robert Gemmell <rob...@apache.org> Authored: Mon Oct 27 17:44:41 2014 +0000 Committer: Robert Gemmell <rob...@apache.org> Committed: Mon Oct 27 17:44:41 2014 +0000 ---------------------------------------------------------------------- .../org/apache/qpid/jms/integration/SessionIntegrationTest.java | 1 - .../test/java/org/apache/qpid/jms/test/testpeer/TestAmqpPeer.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/54b7d684/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 be83294..bff1189 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 @@ -87,7 +87,6 @@ public class SessionIntegrationTest extends QpidJmsTestCase { connection.start(); testPeer.expectBegin(true); - Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); String dynamicAddress = "myTempQueueAddress"; http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/54b7d684/qpid-jms-client/src/test/java/org/apache/qpid/jms/test/testpeer/TestAmqpPeer.java ---------------------------------------------------------------------- diff --git a/qpid-jms-client/src/test/java/org/apache/qpid/jms/test/testpeer/TestAmqpPeer.java b/qpid-jms-client/src/test/java/org/apache/qpid/jms/test/testpeer/TestAmqpPeer.java index 60c1630..9b97a67 100644 --- a/qpid-jms-client/src/test/java/org/apache/qpid/jms/test/testpeer/TestAmqpPeer.java +++ b/qpid-jms-client/src/test/java/org/apache/qpid/jms/test/testpeer/TestAmqpPeer.java @@ -395,6 +395,7 @@ public class TestAmqpPeer implements AutoCloseable TargetMatcher targetMatcher = new TargetMatcher(); targetMatcher.withAddress(nullValue()); targetMatcher.withDynamic(equalTo(true)); + targetMatcher.withDurable(equalTo(UnsignedInteger.valueOf(0)));//TODO: non-literal values for TerminusDurability etc. targetMatcher.withExpiryPolicy(equalTo(Symbol.valueOf("link-detach")));//TODO: non-literal values for ExpiryPolicy etc. final AttachMatcher attachMatcher = new AttachMatcher() --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org