Author: clebert.suconic(a)jboss.com
Date: 2010-11-16 18:58:58 -0500 (Tue, 16 Nov 2010)
New Revision: 9900
Modified:
branches/Branch_New_Paging_preMerge/tests/src/org/hornetq/tests/integration/server/LVQTest.java
Log:
fixing test
Modified:
branches/Branch_New_Paging_preMerge/tests/src/org/hornetq/tests/integration/server/LVQTest.java
===================================================================
---
branches/Branch_New_Paging_preMerge/tests/src/org/hornetq/tests/integration/server/LVQTest.java 2010-11-16
23:49:56 UTC (rev 9899)
+++
branches/Branch_New_Paging_preMerge/tests/src/org/hornetq/tests/integration/server/LVQTest.java 2010-11-16
23:58:58 UTC (rev 9900)
@@ -305,11 +305,8 @@
m = consumer.receive(1000);
Assert.assertNotNull(m);
m.acknowledge();
- Assert.assertEquals(m.getBodyBuffer().readString(), "m3");
- m = consumer.receive(1000);
- Assert.assertNotNull(m);
- m.acknowledge();
- Assert.assertEquals(m.getBodyBuffer().readString(), "m4");
+ Assert.assertEquals(m.getBodyBuffer().readString(), "m1");
+ Assert.assertNull(consumer.receiveImmediate());
}
public void testMultipleMessagesInTxSend() throws Exception