db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r1551629 - in /db/derby/code/branches/10.10: ./ java/testing/org/apache/derbyTesting/functionTests/tests/store/TestDurabilityProperty.java
Date Tue, 17 Dec 2013 17:05:42 GMT
Author: myrnavl
Date: Tue Dec 17 17:05:42 2013
New Revision: 1551629

URL: http://svn.apache.org/r1551629
Log:
DERBY-5865; On IBM 1.7 TestDurabilityProperty fails with FAIL -- derby.system.durability=test
mode seems to be broken.
   merge of revision 1551311 from trunk; commenting out the performance check.

Modified:
    db/derby/code/branches/10.10/   (props changed)
    db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/store/TestDurabilityProperty.java

Propchange: db/derby/code/branches/10.10/
------------------------------------------------------------------------------
  Merged /db/derby/code/trunk:r1551311

Modified: db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/store/TestDurabilityProperty.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/store/TestDurabilityProperty.java?rev=1551629&r1=1551628&r2=1551629&view=diff
==============================================================================
--- db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/store/TestDurabilityProperty.java
(original)
+++ db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/store/TestDurabilityProperty.java
Tue Dec 17 17:05: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