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 km...@apache.org on 2009/01/09 00:50:37 UTC

svn commit: r732876 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/LiveLockTest.java

Author: kmarsden
Date: Thu Jan  8 15:50:36 2009
New Revision: 732876

URL: http://svn.apache.org/viewvc?rev=732876&view=rev
Log:
DERBY-3980 LiveLockTest  update.  Adjust deadlock timeout so we do deadlock detection, per Knut's comment:
https://issues.apache.org/jira/browse/DERBY-3980?focusedCommentId=12658710#action_12658710


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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/LiveLockTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/LiveLockTest.java?rev=732876&r1=732875&r2=732876&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/LiveLockTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/LiveLockTest.java Thu Jan  8 15:50:36 2009
@@ -141,7 +141,7 @@
                 ResultSet rs = stmt.executeQuery("select * from t");
                 while (rs.next())
                     ;
-                Thread.sleep(3000);
+                Thread.sleep(4000);
                 threadConnection.commit();
                 tries++;
                 if (tries == 10)
@@ -178,7 +178,7 @@
         Test suite = TestConfiguration
                 .embeddedSuite(LiveLockTest.class);
         return new CleanDatabaseTestSetup(DatabasePropertyTestSetup
-                .setLockTimeouts(suite, 5, 10)) {
+                .setLockTimeouts(suite, 1, 10)) {
             /**
              * Creates the table used in the test cases.
              *