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 da...@apache.org on 2014/01/09 11:33:13 UTC

svn commit: r1556780 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ConstraintCharacteristicsTest.java

Author: dag
Date: Thu Jan  9 10:33:12 2014
New Revision: 1556780

URL: http://svn.apache.org/r1556780
Log:
DERBY-6437 testLockingWithRollback failing on trunk with AssertionFailedError - isolation levels: 4 2

Added information about which exception caused the assertNull errors
in ConstraintCharacteristicsTest#executeThreads to help debugging.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ConstraintCharacteristicsTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ConstraintCharacteristicsTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ConstraintCharacteristicsTest.java?rev=1556780&r1=1556779&r2=1556780&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ConstraintCharacteristicsTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ConstraintCharacteristicsTest.java Thu Jan  9 10:33:12 2014
@@ -1342,10 +1342,13 @@ public class ConstraintCharacteristicsTe
                 dbo1.commit();
                 t.join();
                 assertNull("isolation levels: " + isolation1
-                        + " " + isolation2, dbo2.getException());
+                            + " " + isolation2 + ": exception " + 
+                        dbo2.getException(), dbo2.getException());
             }
             assertNull("unexpected failure: " + isolation1
-                        + " " + isolation2, dbo2.getUnexpectedException());
+                        + " " + isolation2 + ": exception " + 
+                        dbo2.getUnexpectedException(), 
+                    dbo2.getUnexpectedException());
         }
         finally {
             con1.commit();