db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1501096 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java
Date Tue, 09 Jul 2013 05:46:49 GMT
Author: kahatlen
Date: Tue Jul  9 05:46:49 2013
New Revision: 1501096

URL: http://svn.apache.org/r1501096
Log:
DERBY-6288: Skip 10.0.2.1 upgrade test with JaCoCo

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java?rev=1501096&r1=1501095&r2=1501096&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java
Tue Jul  9 05:46:49 2013
@@ -132,6 +132,15 @@ public class _Suite extends BaseTestCase
         old = OldVersions.getSupportedVersions();
         
         for (int i = 0; i < old.length; i++) {
+
+            // DERBY-6288: One of the class files in 10.0.2.1 is not
+            // well-formed and causes some noise when running with JaCoCo.
+            if (runsWithJaCoCo() &&
+                    Arrays.equals(old[i], new int[]{10, 0, 2, 1})) {
+                println("Skipped version 10.0.2.1 with JaCoCo");
+                continue;
+            }
+
             // DERBY-4913. Test upgrade and create together for 10.3.3.0 since
             // that combination seems to trigger a different code path.
             if (Arrays.equals(old[i],OldVersions.VERSION_10_3_3_0))



Mime
View raw message