db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r1578192 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java
Date Mon, 17 Mar 2014 00:53:04 GMT
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();
 
     }



Mime
View raw message