From 9f0409833aac538f8e8b2c8f1abefc2f0d16702f Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Wed, 2 Jun 2010 16:46:20 +0000 Subject: 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 --- .../src/test/java/org/apache/qpid/server/queue/AMQQueueMBeanTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java') 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 -- cgit v1.2.1