activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject activemq-artemis git commit: NO-JIRA: using proper UUIDGenerator on a test
Date Wed, 15 Feb 2017 15:46:31 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master ab122376e -> 3f6eacf5d


NO-JIRA: using proper UUIDGenerator on a test


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/3f6eacf5
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/3f6eacf5
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/3f6eacf5

Branch: refs/heads/master
Commit: 3f6eacf5d52bd8fbd7d5b1b723e585e6e40a5366
Parents: ab12237
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Wed Feb 15 10:43:58 2017 -0500
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed Feb 15 10:43:58 2017 -0500

----------------------------------------------------------------------
 .../artemis/tests/integration/client/CoreClientTest.java       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/3f6eacf5/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/CoreClientTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/CoreClientTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/CoreClientTest.java
index 1f5ef15..b7dfd98 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/CoreClientTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/CoreClientTest.java
@@ -25,7 +25,6 @@ import java.util.concurrent.Executors;
 import java.util.concurrent.ScheduledThreadPoolExecutor;
 import java.util.concurrent.TimeUnit;
 
-import com.hazelcast.util.UuidUtil;
 import org.apache.activemq.artemis.api.core.ActiveMQBuffer;
 import org.apache.activemq.artemis.api.core.SimpleString;
 import org.apache.activemq.artemis.api.core.client.ActiveMQClient;
@@ -44,6 +43,7 @@ import org.apache.activemq.artemis.jms.client.ActiveMQTextMessage;
 import org.apache.activemq.artemis.tests.integration.IntegrationTestLogger;
 import org.apache.activemq.artemis.tests.util.ActiveMQTestBase;
 import org.apache.activemq.artemis.utils.ActiveMQThreadFactory;
+import org.apache.activemq.artemis.utils.UUIDGenerator;
 import org.junit.Assert;
 import org.junit.Test;
 
@@ -195,7 +195,7 @@ public class CoreClientTest extends ActiveMQTestBase {
       Map<String, ClientConsumer> consumerMap = new HashMap<>();
 
       for (String prefix : anycastPrefixes) {
-         String queueName = UuidUtil.buildRandomUuidString();
+         String queueName = UUIDGenerator.getInstance().generateSimpleStringUUID().toString();
          String address = prefix + baseAddress;
 
          session.createQueue(prefix + baseAddress, null, queueName, null, false);
@@ -203,7 +203,7 @@ public class CoreClientTest extends ActiveMQTestBase {
       }
 
       for (String prefix : multicastPrefixes) {
-         String queueName = UuidUtil.buildRandomUuidString();
+         String queueName = UUIDGenerator.getInstance().generateSimpleStringUUID().toString();
          String address = prefix + baseAddress;
 
          session.createQueue(prefix + baseAddress, null, queueName, null, false);


Mime
View raw message