db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r1551311 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/TestDurabilityProperty.java
Date Mon, 16 Dec 2013 19:01:42 GMT
Author: myrnavl
Date: Mon Dec 16 19:01:42 2013
New Revision: 1551311

URL: http://svn.apache.org/r1551311
Log:
DERBY-5865; On IBM 1.7 TestDurabilityProperty fails with FAIL -- derby.system.durability=test
mode seems to be broken.
   Commenting out the section that compares the timing, with a comment referring to this JIRA.

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/TestDurabilityProperty.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/TestDurabilityProperty.java?rev=1551311&r1=1551310&r2=1551311&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/TestDurabilityProperty.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/TestDurabilityProperty.java
Mon Dec 16 19:01:42 2013
@@ -310,6 +310,12 @@ public class TestDurabilityProperty {
             report("timeWithTestModeCommitOff = " + timeWithTestModeCommitOff);
         }
 
+        // To run this, uncomment and build.
+        // This check is disabled for normal test runs because we cannot
+        // guarantee that some event on the machine might skew the inserts 
+        // with one or another of the three settings, causing a false failure.
+        // See DERBY-5865.
+        /*
         // an approximation on the upper bound for time taken to do
         // inserts in autocommit mode with derby.system.durability=test mode
         long upperBound = 3000;
@@ -342,7 +348,7 @@ public class TestDurabilityProperty {
                     report("timeWithTestModeCommitOff = " + timeWithTestModeCommitOff);
                 }
             }
-        }
+        }*/
 
     }
 }



Mime
View raw message