[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-commits
Subject: svn commit: r579639 -
From: jstrachan () apache ! org
Date: 2007-09-26 12:30:45
Message-ID: 20070926123045.E042C1A9832 () eris ! apache ! org
[Download RAW message or body]
Author: jstrachan
Date: Wed Sep 26 05:30:45 2007
New Revision: 579639
URL: http://svn.apache.org/viewvc?rev=579639&view=rev
Log:
minor change to make tests more exclusive to avoid 'em hitting each other
Modified:
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTestSupport.java
Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTestSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTestSupport.java?rev=579639&r1=579638&r2=579639&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTestSupport.java \
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTestSupport.java \
Wed Sep 26 05:30:45 2007 @@ -58,11 +58,12 @@
//
// /////////////////////////////////////////////////////////////////
protected ActiveMQDestination createDestination(Session session, byte type) \
throws JMSException { + String name = "TEST." + getClass().getName() + "." + \
getName(); switch (type) {
case ActiveMQDestination.QUEUE_TYPE:
- return (ActiveMQDestination)session.createQueue("TEST");
+ return (ActiveMQDestination)session.createQueue(name);
case ActiveMQDestination.TOPIC_TYPE:
- return (ActiveMQDestination)session.createTopic("TEST");
+ return (ActiveMQDestination)session.createTopic(name);
case ActiveMQDestination.TEMP_QUEUE_TYPE:
return (ActiveMQDestination)session.createTemporaryQueue();
case ActiveMQDestination.TEMP_TOPIC_TYPE:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic