activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject activemq git commit: https://issues.apache.org/jira/browse/AMQ-6325
Date Thu, 16 Jun 2016 15:00:16 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 6713c0c71 -> c0713415f


https://issues.apache.org/jira/browse/AMQ-6325

Fix test that fails now that the parser checks the full expression. 

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

Branch: refs/heads/master
Commit: c0713415f5809f5a419055865e2eb0c1e341fa18
Parents: 6713c0c
Author: Timothy Bish <tabish121@gmail.com>
Authored: Thu Jun 16 10:59:08 2016 -0400
Committer: Timothy Bish <tabish121@gmail.com>
Committed: Thu Jun 16 10:59:08 2016 -0400

----------------------------------------------------------------------
 .../org/apache/activemq/console/command/PurgeCommandTest.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/c0713415/activemq-unit-tests/src/test/java/org/apache/activemq/console/command/PurgeCommandTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/console/command/PurgeCommandTest.java
b/activemq-unit-tests/src/test/java/org/apache/activemq/console/command/PurgeCommandTest.java
index 57fffa0..7dc1eea 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/console/command/PurgeCommandTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/console/command/PurgeCommandTest.java
@@ -38,8 +38,6 @@ import javax.management.MBeanServerInvocationHandler;
 import javax.management.ObjectInstance;
 import javax.management.ObjectName;
 
-import junit.framework.TestCase;
-
 import org.apache.activemq.ActiveMQConnectionFactory;
 import org.apache.activemq.broker.BrokerService;
 import org.apache.activemq.broker.jmx.QueueViewMBean;
@@ -51,6 +49,8 @@ import org.slf4j.LoggerFactory;
 import org.springframework.context.support.AbstractApplicationContext;
 import org.springframework.context.support.ClassPathXmlApplicationContext;
 
+import junit.framework.TestCase;
+
 public class PurgeCommandTest extends TestCase {
     private static final Logger LOG = LoggerFactory
             .getLogger(PurgeCommandTest.class);
@@ -69,7 +69,7 @@ public class PurgeCommandTest extends TestCase {
 
     // complex message selector query using XTestProperty and JMSPriority
     protected static final String MSG_SEL_COMPLEX = PROPERTY_NAME + "='" +
-            "1:1" + "',JMSPriority>3";
+            "1:1" + "' AND JMSPriority>3";
 
     // complex message selector query using XTestProperty AND JMSPriority
     // but in SQL-92 syntax


Mime
View raw message