db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r468448 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/nist/NistScripts.java
Date Fri, 27 Oct 2006 16:40:10 GMT
Author: djd
Date: Fri Oct 27 09:40:08 2006
New Revision: 468448

URL: http://svn.apache.org/viewvc?view=rev&rev=468448
Log:
DERBY-2007 (partial) Add setting the lock timeouts for the Nist scripts to match the behaviour
under the old harness.
NistScripts is still a work in  progress.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/nist/NistScripts.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/nist/NistScripts.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/nist/NistScripts.java?view=diff&rev=468448&r1=468447&r2=468448
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/nist/NistScripts.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/nist/NistScripts.java
Fri Oct 27 09:40:08 2006
@@ -24,6 +24,7 @@
 
 import org.apache.derbyTesting.functionTests.util.ScriptTestCase;
 import org.apache.derbyTesting.junit.CleanDatabaseTestSetup;
+import org.apache.derbyTesting.junit.DatabasePropertyTestSetup;
 import org.apache.derbyTesting.junit.TestConfiguration;
 
 /**
@@ -198,7 +199,12 @@
             userSuite.addTest(test);
         }
         
-       return new CleanDatabaseTestSetup(getIJConfig(suite));
+        // Lock timeout settings that were set for the old harness when
+        // running nist.
+ 
+        return new CleanDatabaseTestSetup(
+           DatabasePropertyTestSetup.setLockTimeouts(getIJConfig(suite), 2, 4));
+
     }
     
 	/*



Mime
View raw message