summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2010-06-02 16:46:20 +0000
committerMartin Ritchie <ritchiem@apache.org>2010-06-02 16:46:20 +0000
commit9f0409833aac538f8e8b2c8f1abefc2f0d16702f (patch)
tree69e770c1dca87d98c05c4a3a4bbbc987b7c78127 /java
parent0856952c74cc17406e69eefc89e7aa7d11542704 (diff)
downloadqpid-python-9f0409833aac538f8e8b2c8f1abefc2f0d16702f.tar.gz
QPID-2632 : Update test to use the testName'd queue by default not 'test'
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950653 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/broker/src/test/java/org/apache/qpid/server/queue/AMQQueueMBeanTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/broker/src/test/java/org/apache/qpid/server/queue/AMQQueueMBeanTest.java b/java/broker/src/test/java/org/apache/qpid/server/queue/AMQQueueMBeanTest.java
index 830bbd41c7..6a98a255f8 100644
--- a/java/broker/src/test/java/org/apache/qpid/server/queue/AMQQueueMBeanTest.java
+++ b/java/broker/src/test/java/org/apache/qpid/server/queue/AMQQueueMBeanTest.java
@@ -208,7 +208,7 @@ public class AMQQueueMBeanTest extends InternalBrokerBaseCase
assertEquals("Max MessageSize not set",2000, _queueMBean.getMaximumMessageSize().longValue());
assertEquals("Max QueueDepth not set",maxQueueDepth, _queueMBean.getMaximumQueueDepth().longValue());
- assertEquals("Queue Name does not match", QUEUE_NAME, _queueMBean.getName());
+ assertEquals("Queue Name does not match", new AMQShortString(getName()), _queueMBean.getName());
assertFalse("AutoDelete should not be set.",_queueMBean.isAutoDelete());
assertFalse("Queue should not be durable.",_queueMBean.isDurable());
//TODO add isExclusive when supported