Author: clebert.suconic
Date: 2012-02-24 16:18:06 -0500 (Fri, 24 Feb 2012)
New Revision: 12196
Modified:
branches/Branch_2_2_AS7/tests/src/org/hornetq/tests/integration/client/RedeliveryConsumerTest.java
Log:
fixing test
Modified:
branches/Branch_2_2_AS7/tests/src/org/hornetq/tests/integration/client/RedeliveryConsumerTest.java
===================================================================
---
branches/Branch_2_2_AS7/tests/src/org/hornetq/tests/integration/client/RedeliveryConsumerTest.java 2012-02-24
21:08:11 UTC (rev 12195)
+++
branches/Branch_2_2_AS7/tests/src/org/hornetq/tests/integration/client/RedeliveryConsumerTest.java 2012-02-24
21:18:06 UTC (rev 12196)
@@ -233,7 +233,7 @@
consumer = session.createConsumer(ADDRESS);
msg = consumer.receive(1000);
Assert.assertNotNull(msg);
- Assert.assertEquals(strictUpdate ? 1 : 2, msg.getDeliveryCount());
+ Assert.assertEquals(2, msg.getDeliveryCount());
session.close();
}
Show replies by date