Skip to content

Commit

Permalink
https://issues.apache.org/jira/browse/AMQ-6325
Browse files Browse the repository at this point in the history
Fix test that fails now that the parser checks the full expression.
  • Loading branch information
tabish121 committed Jun 16, 2016
1 parent 6713c0c commit c071341
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
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;
Expand All @@ -51,6 +49,8 @@
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);
Expand All @@ -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
Expand Down

0 comments on commit c071341

Please sign in to comment.