[jboss-svn-commits] JBL Code SVN: r30434 - labs/jbosstm/trunk/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/subordinate.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Dec 2 09:38:25 EST 2009
Author: mark.little at jboss.com
Date: 2009-12-02 09:38:25 -0500 (Wed, 02 Dec 2009)
New Revision: 30434
Modified:
labs/jbosstm/trunk/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/subordinate/SubordinateTestCase.java
Log:
https://jira.jboss.org/jira/browse/JBTM-605
Modified: labs/jbosstm/trunk/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/subordinate/SubordinateTestCase.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/subordinate/SubordinateTestCase.java 2009-12-02 11:15:59 UTC (rev 30433)
+++ labs/jbosstm/trunk/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/subordinate/SubordinateTestCase.java 2009-12-02 14:38:25 UTC (rev 30434)
@@ -506,30 +506,6 @@
}
@Test
- public void testFailOnCommitOnePhaseRetry () throws Exception
- {
- final Xid xid = new XidImple(new Uid());
- final Transaction t = SubordinationManager.getTransactionImporter().importTransaction(xid);
-
- final TestXAResource xaResource = new TestXAResource();
-
- xaResource.setCommitException(new XAException(XAException.XA_RETRY));
-
- t.enlistResource(xaResource);
-
- final XATerminator xaTerminator = SubordinationManager.getXATerminator();
-
- /*
- * This should not cause problems. The transaction really has committed, or will once
- * recovery kicks off. So nothing for the parent to do. The subordinate log will
- * maintain enough information to drive recovery locally if we get to the point of
- * issuing a commit call from parent to child.
- */
-
- xaTerminator.commit(xid, true); // transaction is completed (or will be eventually by recovery).
- }
-
- @Test
public void testFailOnCommitOnePhase () throws Exception
{
final Xid xid = new XidImple(new Uid());
More information about the jboss-svn-commits
mailing list