db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r788909 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/IndexSplitDeadlockTest.java
Date Sat, 27 Jun 2009 00:26:00 GMT
Author: kahatlen
Date: Sat Jun 27 00:25:59 2009
New Revision: 788909

URL: http://svn.apache.org/viewvc?rev=788909&view=rev
Log:
DERBY-4273: A lock could not be obtained within the time requested error in testBTreeForwardScan_fetchRows_resumeAfterWait_nonUnique_split

Run the test with derby.locks.deadlockTrace=true to get more
information about the locks if the test fails with a timeout.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/IndexSplitDeadlockTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/IndexSplitDeadlockTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/IndexSplitDeadlockTest.java?rev=788909&r1=788908&r2=788909&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/IndexSplitDeadlockTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/IndexSplitDeadlockTest.java
Sat Jun 27 00:25:59 2009
@@ -56,6 +56,12 @@
     public static Test suite() {
         Test test = TestConfiguration.embeddedSuite(
                 IndexSplitDeadlockTest.class);
+
+        // DERBY-4273: Include the lock table in the error message to help
+        // debugging in case of lock timeouts.
+        test = DatabasePropertyTestSetup.singleProperty(
+                test, "derby.locks.deadlockTrace", "true");
+
         test = new CleanDatabaseTestSetup(test);
         return test;
     }



Mime
View raw message