geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hiteshkhame...@apache.org
Subject [45/50] [abbrv] geode git commit: GEODE-2433 Backwards compatibility tests are not actually running
Date Tue, 14 Feb 2017 19:32:18 GMT
GEODE-2433  Backwards compatibility tests are not actually running

Show current working directory if unable to run backward compatibility
tests.  For some reason we aren't finding the classpaths file when running
under Jenkins.


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/c8d10ec6
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/c8d10ec6
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/c8d10ec6

Branch: refs/heads/master
Commit: c8d10ec6440a3030a5da8c3022fb16fa2809150d
Parents: 05b6965
Author: Bruce Schuchardt <bschuchardt@trout.gemstone.com>
Authored: Tue Feb 7 11:07:49 2017 -0800
Committer: Bruce Schuchardt <bschuchardt@trout.gemstone.com>
Committed: Tue Feb 7 11:07:49 2017 -0800

----------------------------------------------------------------------
 .../internal/cache/rollingupgrade/RollingUpgrade2DUnitTest.java  | 3 ++-
 .../internal/cache/rollingupgrade/RollingUpgradeDUnitTest.java   | 3 ++-
 .../internal/cache/tier/sockets/ClientServerMiscBCDUnitTest.java | 4 +++-
 .../org/apache/geode/test/dunit/standalone/VersionManager.java   | 3 ++-
 4 files changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/c8d10ec6/geode-core/src/test/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgrade2DUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgrade2DUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgrade2DUnitTest.java
index 5106935..2137ed8 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgrade2DUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgrade2DUnitTest.java
@@ -114,7 +114,8 @@ public class RollingUpgrade2DUnitTest extends JUnit4DistributedTestCase
{
   public static Collection<String> data() {
     List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
     if (result.size() < 1) {
-      throw new RuntimeException("No older versions of Geode were found to test against");
+      throw new RuntimeException("No older versions of Geode were found to test against.
 "
+          + "Current directory is " + new File(".").getAbsolutePath());
     } else {
       System.out.println("running against these versions: " + result);
     }

http://git-wip-us.apache.org/repos/asf/geode/blob/c8d10ec6/geode-core/src/test/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeDUnitTest.java
index 54b51de..b105d58 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeDUnitTest.java
@@ -76,7 +76,8 @@ public class RollingUpgradeDUnitTest extends JUnit4DistributedTestCase {
   public static Collection<String> data() {
     List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
     if (result.size() < 1) {
-      throw new RuntimeException("No older versions of Geode were found to test against");
+      throw new RuntimeException("No older versions of Geode were found to test against.
 "
+          + "Current directory is " + new File(".").getAbsolutePath());
     } else {
       System.out.println("running against these versions: " + result);
     }

http://git-wip-us.apache.org/repos/asf/geode/blob/c8d10ec6/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscBCDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscBCDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscBCDUnitTest.java
index be0ac6b..332b386 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscBCDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscBCDUnitTest.java
@@ -23,6 +23,7 @@ import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
 
+import java.io.File;
 import java.util.Collection;
 import java.util.List;
 
@@ -34,7 +35,8 @@ public class ClientServerMiscBCDUnitTest extends ClientServerMiscDUnitTest
{
   public static Collection<String> data() {
     List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
     if (result.size() < 1) {
-      throw new RuntimeException("No older versions of Geode were found to test against");
+      throw new RuntimeException("No older versions of Geode were found to test against.
 "
+          + "Current directory is " + new File(".").getAbsolutePath());
     } else {
       System.out.println("running against these versions: " + result);
     }

http://git-wip-us.apache.org/repos/asf/geode/blob/c8d10ec6/geode-core/src/test/java/org/apache/geode/test/dunit/standalone/VersionManager.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/test/dunit/standalone/VersionManager.java
b/geode-core/src/test/java/org/apache/geode/test/dunit/standalone/VersionManager.java
index 7bda948..51c0646 100755
--- a/geode-core/src/test/java/org/apache/geode/test/dunit/standalone/VersionManager.java
+++ b/geode-core/src/test/java/org/apache/geode/test/dunit/standalone/VersionManager.java
@@ -137,7 +137,8 @@ public class VersionManager {
       }
     } else {
       System.out.println(
-          "WARNING: could not find geodeTestClasspaths.txt - tests will use current version");
+          "WARNING: could not find geodeTestClasspaths.txt - tests will use current version\n"
+              + "working directory is " + new File(".").getAbsolutePath());
     }
   }
 


Mime
View raw message