Repository: activemq-artemis
Updated Branches:
  refs/heads/2.6.x d495b63ae -> 7302122d8


NO-JIRA - fixing up some broken tests

updated tests that rely on logging id's

(cherry picked from commit d8c34dd3d7812c52e07846d9330782511622ba10)


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

Branch: refs/heads/2.6.x
Commit: 7302122d8ea7dd731d96e1436e4a9a26cbad013c
Parents: d495b63
Author: andytaylor <[email protected]>
Authored: Thu Oct 11 10:25:14 2018 +0100
Committer: Justin Bertram <[email protected]>
Committed: Thu Oct 11 15:34:58 2018 -0500

----------------------------------------------------------------------
 .../tests/integration/cli/QueueCommandTest.java       | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/7302122d/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cli/QueueCommandTest.java
----------------------------------------------------------------------
diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cli/QueueCommandTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cli/QueueCommandTest.java
index b4e8fb6..81adc3e 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cli/QueueCommandTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cli/QueueCommandTest.java
@@ -58,7 +58,7 @@ public class QueueCommandTest extends JMSTestBase {
       command.setMulticast(true);
       command.setAnycast(false);
       command.execute(new ActionContext(System.in, new PrintStream(output), 
new PrintStream(error)));
-      checkExecutionFailure(command, "AMQ119203");
+      checkExecutionFailure(command, "AMQ229203");
       assertFalse(server.queueQuery(new SimpleString(queueName)).isExists());
    }
 
@@ -136,7 +136,7 @@ public class QueueCommandTest extends JMSTestBase {
       command.setAnycast(false);
       command.execute(new ActionContext());
       command.execute(new ActionContext(System.in, new PrintStream(output), 
new PrintStream(error)));
-      checkExecutionFailure(command, "AMQ119019");
+      checkExecutionFailure(command, "AMQ229019");
    }
 
    @Test
@@ -166,7 +166,7 @@ public class QueueCommandTest extends JMSTestBase {
       DeleteQueue delete = new DeleteQueue();
       delete.setName(queueName.toString());
       delete.execute(new ActionContext(System.in, new PrintStream(output), new 
PrintStream(error)));
-      checkExecutionFailure(delete, "AMQ119017");
+      checkExecutionFailure(delete, "AMQ229017");
 
       assertFalse(server.queueQuery(queueName).isExists());
    }
@@ -188,7 +188,7 @@ public class QueueCommandTest extends JMSTestBase {
       DeleteQueue delete = new DeleteQueue();
       delete.setName(queueName.toString());
       delete.execute(new ActionContext(System.in, new PrintStream(output), new 
PrintStream(error)));
-      checkExecutionFailure(delete, "AMQ119025");
+      checkExecutionFailure(delete, "AMQ229025");
    }
 
    @Test
@@ -291,7 +291,7 @@ public class QueueCommandTest extends JMSTestBase {
       updateQueue.setMaxConsumers(-1);
       updateQueue.execute(new ActionContext(System.in, new 
PrintStream(output), new PrintStream(error)));
 
-      checkExecutionFailure(updateQueue, "AMQ119211");
+      checkExecutionFailure(updateQueue, "AMQ229211");
 
       final QueueQueryResult queueQueryResult = 
server.queueQuery(queueNameString);
       assertEquals("maxConsumers", oldMaxConsumers, 
queueQueryResult.getMaxConsumers());
@@ -321,7 +321,7 @@ public class QueueCommandTest extends JMSTestBase {
       updateQueue.setMaxConsumers(newMaxConsumers);
       updateQueue.execute(new ActionContext(System.in, new 
PrintStream(output), new PrintStream(error)));
 
-      checkExecutionFailure(updateQueue, "AMQ119210");
+      checkExecutionFailure(updateQueue, "AMQ229210");
 
       final QueueQueryResult queueQueryResult = 
server.queueQuery(queueNameString);
       assertEquals("maxConsumers", oldMaxConsumers, 
queueQueryResult.getMaxConsumers());
@@ -334,7 +334,7 @@ public class QueueCommandTest extends JMSTestBase {
       UpdateQueue updateQueue = new UpdateQueue();
       updateQueue.setName(queueName.toString());
       updateQueue.execute(new ActionContext(System.in, new 
PrintStream(output), new PrintStream(error)));
-      checkExecutionFailure(updateQueue, "AMQ119017: Queue " + queueName + " 
does not exist");
+      checkExecutionFailure(updateQueue, "AMQ229017: Queue " + queueName + " 
does not exist");
 
       assertFalse(server.queueQuery(queueName).isExists());
    }

Reply via email to