[hornetq-commits] JBoss hornetq SVN: r12194 - branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/client.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Feb 24 16:06:55 EST 2012


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();
    }
 



More information about the hornetq-commits mailing list