Author: jmesnil
Date: 2010-03-05 04:29:14 -0500 (Fri, 05 Mar 2010)
New Revision: 8915
Modified:
trunk/tests/src/org/hornetq/tests/integration/client/SessionCreateConsumerTest.java
Log:
fix testCreateConsumerWithInvalidFilter
* a single identifier is a valid filter (if it holds a boolean value).
use another invalid filter
Modified:
trunk/tests/src/org/hornetq/tests/integration/client/SessionCreateConsumerTest.java
===================================================================
---
trunk/tests/src/org/hornetq/tests/integration/client/SessionCreateConsumerTest.java 2010-03-04
16:05:00 UTC (rev 8914)
+++
trunk/tests/src/org/hornetq/tests/integration/client/SessionCreateConsumerTest.java 2010-03-05
09:29:14 UTC (rev 8915)
@@ -114,7 +114,7 @@
clientSession.createQueue(queueName, queueName, false);
try
{
- clientSession.createConsumer(queueName, "foobar");
+ clientSession.createConsumer(queueName, "this is not valid
filter");
Assert.fail("should throw exception");
}
catch (HornetQException e)
Show replies by date