db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1300459 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/largedata/Derby5624Test.java
Date Wed, 14 Mar 2012 04:32:37 GMT
Author: mamta
Date: Wed Mar 14 04:32:37 2012
New Revision: 1300459

URL: http://svn.apache.org/viewvc?rev=1300459&view=rev
Log:
DERBY-5638 intermittent test failure in test_05_ClobNegative when running full largedata._Suite;
LobLimitsTestjava.sql.SQLException: Table/View 'BLOBTBL' already exists in Schema 'APP'.

One of the tests run as part of large data suite is Derby5624Test and it has following in
protected static Test baseSuite(String name) to set the lock timeout
       return new CleanDatabaseTestSetup(
               DatabasePropertyTestSetup.setLockTimeouts(suite, 2, 4))
       {

The test really doesn't need any special lock timeout setting and may be it is interferring
with the locks timeouts that we see later on in subsequent suites in large data suite. This
commit removes the unnecessay lock timeout setting from Derby5624Test.


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/largedata/Derby5624Test.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/largedata/Derby5624Test.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/largedata/Derby5624Test.java?rev=1300459&r1=1300458&r2=1300459&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/largedata/Derby5624Test.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/largedata/Derby5624Test.java
Wed Mar 14 04:32:37 2012
@@ -141,8 +141,7 @@ public class Derby5624Test extends BaseJ
     {
         TestSuite suite = new TestSuite(name);
         suite.addTestSuite(Derby5624Test.class);
-        return new CleanDatabaseTestSetup(
-                DatabasePropertyTestSetup.setLockTimeouts(suite, 2, 4)) 
+        return new CleanDatabaseTestSetup(suite)
         {
             /**
              * Creates the tables used in the test cases.



Mime
View raw message