Repository: activemq-artemis
Updated Branches:
  refs/heads/master d4ac3c2f8 -> 3cb5883aa


NO-JIRA - fixing up some broken tests

updated tests that rely on logging id's


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

Branch: refs/heads/master
Commit: d8c34dd3d7812c52e07846d9330782511622ba10
Parents: d4ac3c2
Author: andytaylor <[email protected]>
Authored: Thu Oct 11 10:25:14 2018 +0100
Committer: andytaylor <[email protected]>
Committed: Thu Oct 11 10:25:14 2018 +0100

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


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/d8c34dd3/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 c581e69..f45c191 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
@@ -59,7 +59,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());
    }
 
@@ -137,7 +137,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
@@ -167,7 +167,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());
    }
@@ -189,7 +189,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
@@ -292,7 +292,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());
@@ -322,7 +322,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());
@@ -335,7 +335,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());
    }
@@ -363,7 +363,7 @@ public class QueueCommandTest extends JMSTestBase {
       PurgeQueue purge = new PurgeQueue();
       purge.setName(queueName.toString());
       purge.execute(new ActionContext(System.in, new PrintStream(output), new 
PrintStream(error)));
-      checkExecutionFailure(purge, "AMQ119067: Cannot find resource with name 
queue." + queueName);
+      checkExecutionFailure(purge, "AMQ229067: Cannot find resource with name 
queue." + queueName);
 
       assertFalse(server.queueQuery(queueName).isExists());
    }

Reply via email to