db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r732876 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/LiveLockTest.java
Date Thu, 08 Jan 2009 23:50:37 GMT
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.
              * 



Mime
View raw message