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 ka...@apache.org on 2009/06/27 02:26:00 UTC
svn commit: r788909 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/IndexSplitDeadlockTest.java
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;
}