summaryrefslogtreecommitdiff
path: root/qpid/java/test-profiles
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2009-12-08 11:38:46 +0000
committerMartin Ritchie <ritchiem@apache.org>2009-12-08 11:38:46 +0000
commite864e0a9158d69ffcebbcfae0bb1c900bd3478c3 (patch)
treeccf49893b43fe94647a7dc8bdc22fe7879d55dc4 /qpid/java/test-profiles
parent57d9d61d5fe2cff10b130a03ed08b802b80d43ab (diff)
downloadqpid-python-e864e0a9158d69ffcebbcfae0bb1c900bd3478c3.tar.gz
QPID-2242 : Update to 0-8 producer to set the JMS_QPID_DESTTYPE when sending messages.
This update required a change to the FieldTable to clear any _encodedBuffer when setting a new value Provided test in JMSDestintationTest. This test requires a broker that supports both 0-8/9 and 0-10 as we must first use a 0-10 connection to send a message, which does not set JMS_QPID_DESTTYPE, then receive the message on 0-8/9. This allows us to validate that messages recieved without JMS_QPID_DESTTYPE set will can correctly set the value without a BufferOverflow Exception when simply forwarding the message. Excluded test from all cpp and InVM runs as test requires a 0-8/9 and 0-10 capable broker. Can reinstate to InVM when multiprotocol testing is capable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@888345 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/test-profiles')
-rw-r--r--qpid/java/test-profiles/08InVMExcludes3
-rw-r--r--qpid/java/test-profiles/cpp.excludes8
2 files changed, 11 insertions, 0 deletions
diff --git a/qpid/java/test-profiles/08InVMExcludes b/qpid/java/test-profiles/08InVMExcludes
index 065076d3b6..915c1ff0c2 100644
--- a/qpid/java/test-profiles/08InVMExcludes
+++ b/qpid/java/test-profiles/08InVMExcludes
@@ -4,3 +4,6 @@
// QPID-2097 exclude until InVM JMX test runs are reliable
org.apache.qpid.server.queue.ProducerFlowControlTest#testFlowControlAttributeModificationViaJMX
+
+// This test requires a broker capable of 0-8/9 and 0-10
+org.apache.qpid.test.client.message.JMSDestinationTest#testReceiveResend
diff --git a/qpid/java/test-profiles/cpp.excludes b/qpid/java/test-profiles/cpp.excludes
index 4d7363eb75..64417a0edc 100644
--- a/qpid/java/test-profiles/cpp.excludes
+++ b/qpid/java/test-profiles/cpp.excludes
@@ -1,2 +1,10 @@
+//======================================================================
+//Exclude the following tests when running all cpp test profilies
+//======================================================================
+
// This test requires JMX interface to move messages
org.apache.qpid.test.client.message.JMSDestinationTest#testMovedToQueue
+
+// This test requires a broker capable of 0-8/9 and 0-10
+org.apache.qpid.test.client.message.JMSDestinationTest#testReceiveResend
+