db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1475624 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TriggerTest.java
Date Thu, 25 Apr 2013 04:30:22 GMT
Author: mamta
Date: Thu Apr 25 04:30:22 2013
New Revision: 1475624

URL: http://svn.apache.org/r1475624
Log:
DERBY-5866 ( testFiringConstraintOrder(org.apache.derbyTesting.functionTests.tests.lang.TriggerTest)junit.framework.AssertionFailedError:
matching triggers need to be fired in order creation:1,NO CASCADE BEFORE,DELETE,ROW)

I forgot to remove the forced failure from the test which I had used for debugging. Fixing
the forced failure part with this commit.


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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TriggerTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TriggerTest.java?rev=1475624&r1=1475623&r2=1475624&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TriggerTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TriggerTest.java
Thu Apr 25 04:30:22 2013
@@ -562,7 +562,10 @@ public class TriggerTest extends BaseJDB
                     modifiedRowCount > 1 ? (order >= lastOrder) :
                         (order > lastOrder);
                 assertTrue("matching triggers need to be fired in order creation:"
-                        +info+". Triggers got fired in this order:"+TRIGGER_INFO.get().toString()+".
Tiggers got created in this order:"+listOfCreatedTriggers.toString(), false);
+                        +info+". Triggers got fired in this order:"+
+                        TRIGGER_INFO.get().toString()+
+                        ". Tiggers got created in this order:"+
+                        listOfCreatedTriggers.toString(), orderOk);
                 lastOrder = order;
                 continue;
             }



Mime
View raw message