db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r1643463 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/ClobReclamationTest.java
Date Fri, 05 Dec 2014 22:37:22 GMT
Author: mikem
Date: Fri Dec  5 22:37:21 2014
New Revision: 1643463

URL: http://svn.apache.org/r1643463
Log:
DERBY-4057

Removing one check in test that is failing across platforms.  Separate
work under DERBY-6775 will improve the test in this area.


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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/ClobReclamationTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/ClobReclamationTest.java?rev=1643463&r1=1643462&r2=1643463&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/ClobReclamationTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/ClobReclamationTest.java
Fri Dec  5 22:37:21 2014
@@ -318,8 +318,19 @@ public class ClobReclamationTest extends
         // of free space remains.
         // ((clob length / page size ) * 20) + 
         //     1 page for int divide round off - 1 for the head page.
+
+        // The above check that there is 1 allocated page shows that we
+        // are reclaiming space.  The number of free pages left is very
+        // machine dependent as it depends on speed of background thread 
+        // reclaiming space and the above user loop doing the inserts 
+        // concurrent with the background threads reclaiming the aborted
+        // inserted space.
+
+        // See DERBY-6775 for better test
+        /*
         checkNumFreePagesMax("CLOBTAB3", ((clob_length / 32000) * 20) + 1 - 1);
         commit();
+        */
 
         // running inplace compress should reclaim all the remaining aborted
         // insert space, previous to fix inplace compress would leave stranded



Mime
View raw message