db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1617439 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/StalePlansTest.java
Date Tue, 12 Aug 2014 09:27:19 GMT
Author: kahatlen
Date: Tue Aug 12 09:27:19 2014
New Revision: 1617439

URL: http://svn.apache.org/r1617439
Log:
DERBY-6336: Disable index statistics daemon in StalePlansTest

Eliminate the daemon as potential source of instability.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/StalePlansTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/StalePlansTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/StalePlansTest.java?rev=1617439&r1=1617438&r2=1617439&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/StalePlansTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/StalePlansTest.java
Tue Aug 12 09:27:19 2014
@@ -54,6 +54,9 @@ public class StalePlansTest extends Base
         // Check for stale plans on every 10th execution (default 100) to
         // reduce the number of times we need to execute each statement.
         props.setProperty("derby.language.stalePlanCheckInterval", "10");
+        // Disable the index statistics daemon so that it doesn't cause
+        // recompilation of statements at random times.
+        props.setProperty("derby.storage.indexStats.auto", "false");
         Test suite = new DatabasePropertyTestSetup(
             new BaseTestSuite(StalePlansTest.class), props, true);
         return new CleanDatabaseTestSetup(suite);



Mime
View raw message