db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1133741 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/AutomaticIndexStatisticsMultiTest.java
Date Thu, 09 Jun 2011 09:27:37 GMT
Author: kristwaa
Date: Thu Jun  9 09:27:37 2011
New Revision: 1133741

URL: http://svn.apache.org/viewvc?rev=1133741&view=rev
Log:
DERBY-5097: testMTSelect(org.apache.derbyTesting.functionTests.tests.store.AutomaticIndex
StatisticsMultiTest)junit.framework.AssertionFailedError: failed to get statisti cs for table
MTSEL (#expected=2, timeout=0) on AIX IBM JDK 1.5

Increased timeout to the test from failing on loaded/slower machines.

Patch file: derby-5097-2a-increase_timeout.diff

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/AutomaticIndexStatisticsMultiTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/AutomaticIndexStatisticsMultiTest.java?rev=1133741&r1=1133740&r2=1133741&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/AutomaticIndexStatisticsMultiTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/AutomaticIndexStatisticsMultiTest.java
Thu Jun  9 09:27:37 2011
@@ -143,7 +143,7 @@ public class AutomaticIndexStatisticsMul
         // by the test threads may cause the index statistics daemon worker
         // thread to be "starved". Add a timeout to give it a chance to do
         // what it has been told to do.
-        IndexStatsUtil stats = new IndexStatsUtil(getConnection(), 2000);
+        IndexStatsUtil stats = new IndexStatsUtil(getConnection(), 5000);
         IdxStats[] myStats = stats.getStatsTable(TAB, 2);
         for (int i=0; i < myStats.length; i++) {
             IdxStats s = myStats[i];



Mime
View raw message