You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by my...@apache.org on 2014/03/17 01:53:04 UTC

svn commit: r1578192 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java

Author: myrnavl
Date: Mon Mar 17 00:53:04 2014
New Revision: 1578192

URL: http://svn.apache.org/r1578192
Log:
DERBY-6248; nightly regression test failure: testDerby966(org.apache.derbyTesting.functionTests.tests.jdbcapi.XATest)java.sql.SQLFeatureNotSupportedException: The DDM object 0x2408 is not supported. The connection has been terminated.
  working around the issue by adding a rollback.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java?rev=1578192&r1=1578191&r2=1578192&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java Mon Mar 17 00:53:04 2014
@@ -1076,6 +1076,9 @@ public class XATest extends BaseJDBCTest
         assertEquals(ResultSet.CLOSE_CURSORS_AT_COMMIT, psch_d
                 .getResultSetHoldability());
 
+        // intermittently we get a failure in this test if we do not
+        // rollback, see DERBY-6248.
+        conn.rollback();
         conn.close();
 
     }