Author: clebert.suconic(a)jboss.com
Date: 2009-11-23 16:22:09 -0500 (Mon, 23 Nov 2009)
New Revision: 8386
Modified:
branches/ClebertCallback/tests/src/org/hornetq/tests/integration/client/MessageGroupingTest.java
Log:
Fixing onePhase XA Commit
Modified:
branches/ClebertCallback/tests/src/org/hornetq/tests/integration/client/MessageGroupingTest.java
===================================================================
---
branches/ClebertCallback/tests/src/org/hornetq/tests/integration/client/MessageGroupingTest.java 2009-11-23
21:16:26 UTC (rev 8385)
+++
branches/ClebertCallback/tests/src/org/hornetq/tests/integration/client/MessageGroupingTest.java 2009-11-23
21:22:09 UTC (rev 8386)
@@ -433,7 +433,7 @@
assertTrue(latch.await(10, TimeUnit.SECONDS));
clientSession.end(xid, XAResource.TMSUCCESS);
clientSession.prepare(xid);
- clientSession.commit(xid, true);
+ clientSession.commit(xid, false);
assertEquals(dummyMessageHandler.list.size(), 50);
int i = 0;
for (ClientMessage message : dummyMessageHandler.list)