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/04/23 22:45:35 UTC

svn commit: r1589515 - in /db/derby/code/branches/10.8: ./ java/client/org/apache/derby/client/net/NetCursor.java java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java

Author: myrnavl
Date: Wed Apr 23 20:45:35 2014
New Revision: 1589515

URL: http://svn.apache.org/r1589515
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.
   merge of revision 1578192 from trunk; adding a rollback to work around the issue

Modified:
    db/derby/code/branches/10.8/   (props changed)
    db/derby/code/branches/10.8/java/client/org/apache/derby/client/net/NetCursor.java   (props changed)
    db/derby/code/branches/10.8/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java

Propchange: db/derby/code/branches/10.8/
------------------------------------------------------------------------------
  Merged /db/derby/code/trunk:r1578192

Propchange: db/derby/code/branches/10.8/java/client/org/apache/derby/client/net/NetCursor.java
------------------------------------------------------------------------------
  Merged /db/derby/code/trunk/java/client/org/apache/derby/client/net/NetCursor.java:r1578192

Modified: db/derby/code/branches/10.8/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.8/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java?rev=1589515&r1=1589514&r2=1589515&view=diff
==============================================================================
--- db/derby/code/branches/10.8/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java (original)
+++ db/derby/code/branches/10.8/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATest.java Wed Apr 23 20:45:35 2014
@@ -1079,6 +1079,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();
 
     }