You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by mi...@apache.org on 2012/02/10 20:09:22 UTC

svn commit: r1242889 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_reclaim_longcol.java

Author: mikem
Date: Fri Feb 10 19:09:22 2012
New Revision: 1242889

URL: http://svn.apache.org/viewvc?rev=1242889&view=rev
Log:
DERBY-1913 storetests/st_reclaim_longcol.java fails intermittently

disabling test2, still machine dependent.  test1 covers the original intended
code path to verify that blobs are marked for post commit immediately, rather
than waiting for all rows on a page to be deleted.


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_reclaim_longcol.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_reclaim_longcol.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_reclaim_longcol.java?rev=1242889&r1=1242888&r2=1242889&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_reclaim_longcol.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_reclaim_longcol.java Fri Feb 10 19:09:22 2012
@@ -213,6 +213,16 @@ public class st_reclaim_longcol extends 
                 " rows with blob(" + blob_size + ")"); 
     }
 
+    /**
+     * DERBY-1913
+     * <p>
+     * test2 is too sensitive to machine speed and background thread
+     * processing.  It would be better suited as a long running stress
+     * test if someone has the inclination.  Disabling this test for
+     * now.  test1 covers the original intent to test that blobs are
+     * immediately marked for post commit on individual delete, rather
+     * than waiting for all rows on a page to be deleted.
+     **/
     public void test2(
     Connection  conn, 
     int         blob_size, 
@@ -476,7 +486,10 @@ public class st_reclaim_longcol extends 
         throws SQLException
     {
         test1(conn, 250000, 20);
-        test2(conn, 250000, 5, 500);
+
+        // DERBY-1913 - disabling test2 as it is too sensitive to background
+        // processing.
+        // test2(conn, 250000, 5, 500);
     }
 
     public static void main(String[] argv)