db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r1556780 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ConstraintCharacteristicsTest.java
Date Thu, 09 Jan 2014 10:33:13 GMT
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();



Mime
View raw message