Author: clebert.suconic
Date: 2012-02-24 16:06:54 -0500 (Fri, 24 Feb 2012)
New Revision: 12194
Modified:
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/client/RedeliveryConsumerTest.java
Log:
fixing test after Justin's fix
Modified:
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/client/RedeliveryConsumerTest.java
===================================================================
---
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/client/RedeliveryConsumerTest.java 2012-02-24
16:04:57 UTC (rev 12193)
+++
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/client/RedeliveryConsumerTest.java 2012-02-24
21:06:54 UTC (rev 12194)
@@ -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