You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by dh...@apache.org on 2022/05/19 22:44:12 UTC

[geode] branch support/1.15 updated: GEODE-10257: Upgrade tests can upgrade Java (#7686) (#7712)

This is an automated email from the ASF dual-hosted git repository.

dhemery pushed a commit to branch support/1.15
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/support/1.15 by this push:
     new f1d6873899 GEODE-10257: Upgrade tests can upgrade Java (#7686) (#7712)
f1d6873899 is described below

commit f1d687389997f95e4b015ded2883b5dc4eb2f093
Author: Dale Emery <de...@vmware.com>
AuthorDate: Thu May 19 15:44:07 2022 -0700

    GEODE-10257: Upgrade tests can upgrade Java (#7686) (#7712)
    
    Currently, upgrade tests upgrade from an old version of Geode to the
    current version, both running on the test JVM's version of Java.
    
    This commit enhances most upgrade tests so that they also upgrade from
    an old Java version to a newer one, both running the current version of
    Geode.
    
    The new `VmConfiguration` class represents a configuration for a Geode
    JVM, specifying both the Java version and the Geode version.
    
    The new `VmConfigurations` class offers two factory methods to produce
    lists of candidate configurations:
    - `VmConfigurations.upgrades()` produces a list of "upgrade"
      configurations useful for most upgrade tests. Each upgrade
      configuration specifies either and old version of Geode or an old
      version of Java, but not both.
    - `VmConfigurations.all()` produces a list of upgrades plus a
      configuration representing the current version of Geode and the test
      JVM's version of Java.
    
    `VmConfigurations` also includes factory methods to create predicates to
    filter configurations.
    
    (cherry picked from commit e835c8c4fc1c05d239baab912c1b91274b4f0e92)
---
 .../src/main/groovy/multi-process-test.gradle      |  12 ++
 .../management/OperationManagementUpgradeTest.java |   3 +-
 .../web/controllers/RestAPICompatibilityTest.java  |  40 +++---
 ...omcatSessionBackwardsCompatibilityTestBase.java |  26 +++-
 .../geode/ClusterCommunicationsDUnitTest.java      |  23 +++-
 ...sterConfigurationFunctionCompatibilityTest.java |  33 ++---
 .../internal/cache/TxCommitMessageBCTestBase.java  |  27 ++--
 .../RollingUpgrade2DUnitTestBase.java              |  43 +++---
 .../rollingupgrade/RollingUpgradeClients.java      |   8 +-
 .../RollingUpgradeConcurrentPutsReplicated.java    |   8 +-
 ...ateIndexesMixedServersOnPartitionedRegions.java |   2 +-
 ...ltiIndexesMixedServersOnPartitionedRegions.java |   2 +-
 ...gradeHARegionNameOnDifferentServerVersions.java |   6 +-
 .../RollingUpgradeNonHAFunction.java               |   4 +-
 ...lingUpgradeOldMemberCantJoinRolledLocators.java |   2 +-
 ...UpgradeOplogMagicSeqBackwardCompactibility.java |   8 +-
 ...gradePutAndGetMixedServerPartitionedRegion.java |   2 +-
 ...pgradePutAndGetMixedServersReplicateRegion.java |   2 +-
 ...gradeQueryMixedServersOnPartitionedRegions.java |   2 +-
 ...pgradeQueryMixedServersOnReplicatedRegions.java |   2 +-
 .../RollingUpgradeRollLocatorWithTwoServers.java   |   6 +-
 .../RollingUpgradeRollLocatorsWithOldServer.java   |   6 +-
 ...LocatorWithMultipleServersReplicatedRegion.java |   6 +-
 .../rollingupgrade/RollingUpgradeTracePRQuery.java |   4 +-
 .../RollingUpgradeVerifyXmlEntity.java             |   4 +-
 .../AuthExpirationBackwardCompatibleDUnitTest.java |  52 ++++----
 .../AuthExpirationTransactionUpgradeTest.java      |  24 ++--
 .../apache/geode/security/ClientAuthDUnitTest.java |  31 ++---
 .../security/ClientAuthenticationDUnitTest.java    |  26 ++--
 .../ClientAuthenticationPart2DUnitTest.java        |  27 ++--
 .../security/ClientAuthenticationTestCase.java     |  17 +--
 ...tAuthorizationLegacyConfigurationDUnitTest.java |  17 +--
 ...aAuthorizationUsingLegacySecurityDUnitTest.java |  43 +++---
 ...onUsingLegacySecurityWithFailoverDUnitTest.java |  45 ++++---
 .../tier/sockets/ClientServerMiscBCDUnitTest.java  |  58 ++++-----
 .../security/ClientAuthorizationCQDUnitTest.java   |  26 ++--
 .../GetDefaultDiskStoreNameDistributedTest.java    |   3 +-
 .../sockets/ClientServerMiscDUnitTestBase.java     |  31 +++--
 .../security/ClientAuthorizationTestCase.java      |  20 +--
 .../java/org/apache/geode/test/dunit/Host.java     |  64 ++++++---
 .../main/java/org/apache/geode/test/dunit/VM.java  |  62 +++++----
 .../geode/test/dunit/internal/ChildVMLauncher.java |   6 +-
 .../geode/test/dunit/internal/DUnitHost.java       |  41 +++---
 .../dunit/internal/JUnit4DistributedTestCase.java  |  10 +-
 .../geode/test/dunit/internal/ProcessManager.java  |  41 +++---
 .../geode/test/dunit/rules/ClusterStartupRule.java |  87 ++++++++-----
 .../sanctioned-geode-dunit-serializables.txt       |   6 +-
 .../management/ConfigurationCompatibilityTest.java |  33 ++---
 .../geode/management/GfshCompatibilityTest.java    |  36 +++---
 .../GfshRebalanceCommandCompatibilityTest.java     |  35 ++---
 .../org/apache/geode/test/version/JavaVersion.java |  75 +++++++++++
 .../apache/geode/test/version/JavaVersions.java    | 144 +++++++++++++++++++++
 .../org/apache/geode/test/version/TestVersion.java |   5 +-
 .../apache/geode/test/version/TestVersions.java    |  64 +++++++++
 .../apache/geode/test/version/VmConfiguration.java | 114 ++++++++++++++++
 .../geode/test/version/VmConfigurations.java       | 105 +++++++++++++++
 .../sanctioned-geode-junit-serializables.txt       |   2 +
 .../LuceneSearchWithRollingUpgradeDUnit.java       |  57 ++++----
 ...ultAfterTwoLocatorsWithTwoServersAreRolled.java |   8 +-
 ...tResultsAfterClientAndServersAreRolledOver.java |   8 +-
 ...ntAndServersAreRolledOverAllBucketsCreated.java |   8 +-
 ...sultsAfterServersRollOverOnPartitionRegion.java |   2 +-
 ...ServersRollOverOnPersistentPartitionRegion.java |   2 +-
 ...ccessfulWhenAllServersRollToCurrentVersion.java |  20 +--
 .../TcpServerProductVersionUpgradeTest.java        |   6 +-
 ...ateGatewaySenderMixedSiteOneCurrentSiteTwo.java |  19 ++-
 .../cache/wan/WANRollingUpgradeDUnitTest.java      |  24 ++--
 ...eEventProcessingMixedSiteOneCurrentSiteTwo.java |  15 ++-
 ...gradeEventProcessingMixedSiteOneOldSiteTwo.java |  21 +--
 ...adeEventProcessingOldSiteOneCurrentSiteTwo.java |  15 ++-
 ...ipleReceiversDefinedInClusterConfiguration.java |  49 ++++---
 .../WANRollingUpgradeNewSenderProcessOldEvent.java |  21 +--
 ...tReprocessedAfterCurrentSiteMemberFailover.java |  13 +-
 ...fterCurrentSiteMemberFailoverWithOldClient.java |  15 ++-
 ...tsNotReprocessedAfterOldSiteMemberFailover.java |  15 ++-
 ...eCacheServerProfileToMembersOlderThan1dot5.java |   4 +-
 ...ANRollingUpgradeVerifyGatewaySenderProfile.java |  12 +-
 77 files changed, 1342 insertions(+), 623 deletions(-)

diff --git a/build-tools/scripts/src/main/groovy/multi-process-test.gradle b/build-tools/scripts/src/main/groovy/multi-process-test.gradle
index 3c606b23ed..0464bd64b7 100644
--- a/build-tools/scripts/src/main/groovy/multi-process-test.gradle
+++ b/build-tools/scripts/src/main/groovy/multi-process-test.gradle
@@ -45,6 +45,18 @@ def multiProcessTestTasks = [acceptanceTest, repeatAcceptanceTest,
                              upgradeTest, repeatUpgradeTest,
                              uiTest, repeatUnitTest]
 
+for (task in multiProcessTestTasks) {
+  if(project.hasProperty('testJava8Home')) {
+    task.environment "TEST_JAVA_8_HOME", "${project.testJava8Home}"
+  }
+  if(project.hasProperty('testJava11Home')) {
+    task.environment "TEST_JAVA_11_HOME", "${project.testJava11Home}"
+  }
+  if(project.hasProperty('testJava17Home')) {
+    task.environment "TEST_JAVA_17_HOME", "${project.testJava17Home}"
+  }
+}
+
 if (project.hasProperty('testJVM') && !testJVM.trim().isEmpty()) {
   for (task in multiProcessTestTasks) {
     task.environment "JAVA_HOME", "${project.testJVM}"
diff --git a/geode-assembly/src/upgradeTest/java/org/apache/geode/management/OperationManagementUpgradeTest.java b/geode-assembly/src/upgradeTest/java/org/apache/geode/management/OperationManagementUpgradeTest.java
index fa5483fd79..f579e0e056 100644
--- a/geode-assembly/src/upgradeTest/java/org/apache/geode/management/OperationManagementUpgradeTest.java
+++ b/geode-assembly/src/upgradeTest/java/org/apache/geode/management/OperationManagementUpgradeTest.java
@@ -15,7 +15,6 @@
 
 package org.apache.geode.management;
 
-import static org.apache.geode.test.dunit.Host.getHost;
 import static org.apache.geode.test.junit.rules.gfsh.GfshRule.startLocatorCommand;
 import static org.apache.geode.test.junit.rules.gfsh.GfshRule.startServerCommand;
 import static org.assertj.core.api.Assertions.assertThat;
@@ -65,7 +64,7 @@ public class OperationManagementUpgradeTest {
     oldGfsh = new GfshRule(oldVersion);
     DUnitLauncher.launchIfNeeded(false);
     // get the vm with the same version of the oldGfsh
-    vm = getHost(0).getVM(oldVersion, 0);
+    vm = VM.getVM(oldVersion, 0);
   }
 
   @Rule
diff --git a/geode-assembly/src/upgradeTest/java/org/apache/geode/rest/internal/web/controllers/RestAPICompatibilityTest.java b/geode-assembly/src/upgradeTest/java/org/apache/geode/rest/internal/web/controllers/RestAPICompatibilityTest.java
index d9960761ee..714b6677a0 100644
--- a/geode-assembly/src/upgradeTest/java/org/apache/geode/rest/internal/web/controllers/RestAPICompatibilityTest.java
+++ b/geode-assembly/src/upgradeTest/java/org/apache/geode/rest/internal/web/controllers/RestAPICompatibilityTest.java
@@ -15,6 +15,8 @@
  */
 package org.apache.geode.rest.internal.web.controllers;
 
+import static java.util.stream.Collectors.toList;
+import static org.apache.geode.test.version.VmConfigurations.hasGeodeVersion;
 import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
 
 import java.io.BufferedReader;
@@ -22,7 +24,6 @@ import java.io.InputStream;
 import java.io.InputStreamReader;
 import java.util.Collection;
 import java.util.HashMap;
-import java.util.List;
 import java.util.Map;
 
 import com.fasterxml.jackson.core.JsonProcessingException;
@@ -53,20 +54,22 @@ import org.apache.geode.test.junit.categories.BackwardCompatibilityTest;
 import org.apache.geode.test.junit.rules.GfshCommandRule;
 import org.apache.geode.test.junit.rules.MemberStarterRule;
 import org.apache.geode.test.version.TestVersion;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.TestVersions;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 import org.apache.geode.util.internal.GeodeJsonMapper;
 
 @Category({BackwardCompatibilityTest.class})
 @RunWith(Parameterized.class)
 public class RestAPICompatibilityTest {
-  private final String oldVersion;
+  private final VmConfiguration sourceVmConfiguration;
   private static final ObjectMapper mapper = GeodeJsonMapper.getMapper();
 
   @Parameterized.Parameters(name = "{0}")
-  public static Collection<String> data() {
-    List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
-    result.removeIf(s -> TestVersion.compare(s, "1.11.0") < 0);
-    return result;
+  public static Collection<VmConfiguration> data() {
+    return VmConfigurations.upgrades().stream()
+        .filter(hasGeodeVersion(TestVersions.atLeast(TestVersion.valueOf("1.11.0"))))
+        .collect(toList());
   }
 
   @Rule
@@ -75,8 +78,9 @@ public class RestAPICompatibilityTest {
   @Rule
   public GfshCommandRule gfsh = new GfshCommandRule();
 
-  public RestAPICompatibilityTest(String oldVersion) throws JsonProcessingException {
-    this.oldVersion = oldVersion;
+  public RestAPICompatibilityTest(VmConfiguration sourceVmConfiguration)
+      throws JsonProcessingException {
+    this.sourceVmConfiguration = sourceVmConfiguration;
     DiskStore diskStore = new DiskStore();
     diskStore.setName("diskStore");
     postRESTAPICalls = new HashMap<>();
@@ -104,15 +108,18 @@ public class RestAPICompatibilityTest {
     int locatorPort2 = locatorPorts[1];
 
     // Initialize all cluster members with old versions
-    cluster.startLocatorVM(0, locatorPort1, oldVersion, MemberStarterRule::withHttpService);
-    cluster.startLocatorVM(1, locatorPort2, oldVersion,
+    cluster.startLocatorVM(0, locatorPort1, sourceVmConfiguration,
+        MemberStarterRule::withHttpService);
+    cluster.startLocatorVM(1, locatorPort2, sourceVmConfiguration,
         x -> x.withConnectionToLocator(locatorPort1).withHttpService());
     cluster
-        .startServerVM(2, oldVersion, s -> s.withRegion(RegionShortcut.PARTITION, "region")
-            .withConnectionToLocator(locatorPort1, locatorPort2));
+        .startServerVM(2, sourceVmConfiguration,
+            s -> s.withRegion(RegionShortcut.PARTITION, "region")
+                .withConnectionToLocator(locatorPort1, locatorPort2));
     cluster
-        .startServerVM(3, oldVersion, s -> s.withRegion(RegionShortcut.PARTITION, "region")
-            .withConnectionToLocator(locatorPort1, locatorPort2));
+        .startServerVM(3, sourceVmConfiguration,
+            s -> s.withRegion(RegionShortcut.PARTITION, "region")
+                .withConnectionToLocator(locatorPort1, locatorPort2));
 
     // Roll locators to the current version
     cluster.stop(0);
@@ -143,7 +150,8 @@ public class RestAPICompatibilityTest {
     try (CloseableHttpClient httpClient = HttpClients.createDefault()) {
       for (Map.Entry<String, String[]> entry : postRESTAPICalls.entrySet()) {
         // Skip the test is the version is before the REST api was introduced.
-        if (TestVersion.compare(oldVersion, entry.getValue()[2]) < 0) {
+        TestVersion restApiMinimumGeodeVersion = TestVersion.valueOf(entry.getValue()[2]);
+        if (sourceVmConfiguration.geodeVersion().lessThan(restApiMinimumGeodeVersion)) {
           continue;
         }
         HttpPost post =
diff --git a/geode-assembly/src/upgradeTest/java/org/apache/geode/session/tests/TomcatSessionBackwardsCompatibilityTestBase.java b/geode-assembly/src/upgradeTest/java/org/apache/geode/session/tests/TomcatSessionBackwardsCompatibilityTestBase.java
index 15dc1c852f..b712f28c42 100644
--- a/geode-assembly/src/upgradeTest/java/org/apache/geode/session/tests/TomcatSessionBackwardsCompatibilityTestBase.java
+++ b/geode-assembly/src/upgradeTest/java/org/apache/geode/session/tests/TomcatSessionBackwardsCompatibilityTestBase.java
@@ -14,6 +14,9 @@
  */
 package org.apache.geode.session.tests;
 
+import static java.util.stream.Collectors.toList;
+import static org.apache.geode.test.version.VmConfigurations.hasGeodeVersion;
+import static org.assertj.core.api.Assumptions.assumeThat;
 import static org.junit.Assert.assertEquals;
 
 import java.io.File;
@@ -38,7 +41,10 @@ import org.apache.geode.test.junit.categories.BackwardCompatibilityTest;
 import org.apache.geode.test.junit.rules.GfshCommandRule;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
 import org.apache.geode.test.version.TestVersion;
+import org.apache.geode.test.version.TestVersions;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 /**
  * This test iterates through the versions of Geode and executes session client compatibility with
@@ -50,14 +56,20 @@ import org.apache.geode.test.version.VersionManager;
 public abstract class TomcatSessionBackwardsCompatibilityTestBase {
   private final UniquePortSupplier portSupplier = new UniquePortSupplier();
 
-  @Parameterized.Parameters
+  @Parameterized.Parameters(name = "{0}")
   public static Collection<String> data() {
-    List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
-    result.removeIf(s -> TestVersion.compare(s, "1.2.0") < 0);
-    if (result.size() < 1) {
-      throw new RuntimeException("No older versions of Geode were found to test against");
-    }
-    return result;
+    List<String> sourceVersions = VmConfigurations.upgrades().stream()
+        // Skip versions older than 1.2
+        .filter(hasGeodeVersion(TestVersions.atLeast(TestVersion.valueOf("1.2.0"))))
+        // Skip Java upgrades
+        .filter(hasGeodeVersion(TestVersions.lessThan(TestVersion.CURRENT_VERSION)))
+        .map(VmConfiguration::geodeVersion)
+        .map(String::valueOf)
+        .collect(toList());
+    assumeThat(sourceVersions)
+        .as("source versions")
+        .isNotEmpty();
+    return sourceVersions;
   }
 
   @Rule
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/ClusterCommunicationsDUnitTest.java b/geode-core/src/upgradeTest/java/org/apache/geode/ClusterCommunicationsDUnitTest.java
index 0e79d2011a..04dd2f4f6a 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/ClusterCommunicationsDUnitTest.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/ClusterCommunicationsDUnitTest.java
@@ -14,6 +14,7 @@
  */
 package org.apache.geode;
 
+import static java.util.Comparator.comparing;
 import static org.apache.geode.distributed.ConfigurationProperties.CONSERVE_SOCKETS;
 import static org.apache.geode.distributed.ConfigurationProperties.DISABLE_TCP;
 import static org.apache.geode.distributed.ConfigurationProperties.ENABLE_CLUSTER_CONFIGURATION;
@@ -38,7 +39,9 @@ import static org.apache.geode.test.dunit.IgnoredException.addIgnoredException;
 import static org.apache.geode.test.dunit.Invoke.invokeInEveryVM;
 import static org.apache.geode.test.dunit.VM.getVM;
 import static org.apache.geode.test.util.ResourceUtils.createTempFileFromResource;
+import static org.apache.geode.test.version.VmConfigurations.hasGeodeVersion;
 import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assumptions.assumeThat;
 
 import java.io.DataInput;
 import java.io.DataOutput;
@@ -48,7 +51,7 @@ import java.io.Serializable;
 import java.util.Arrays;
 import java.util.Collection;
 import java.util.Collections;
-import java.util.List;
+import java.util.Optional;
 import java.util.Properties;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
@@ -98,7 +101,11 @@ import org.apache.geode.test.junit.categories.BackwardCompatibilityTest;
 import org.apache.geode.test.junit.categories.MembershipTest;
 import org.apache.geode.test.junit.rules.serializable.SerializableTestName;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
+import org.apache.geode.test.version.TestVersion;
+import org.apache.geode.test.version.TestVersions;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 /**
  * This class tests cluster tcp/ip communications both with and without SSL enabled
@@ -272,12 +279,18 @@ public class ClusterCommunicationsDUnitTest implements Serializable {
 
   @Test
   public void performARollingUpgrade() {
-    List<String> testVersions = VersionManager.getInstance().getVersionsWithoutCurrent();
-    String testVersion = testVersions.get(testVersions.size() - 1);
+    Optional<VmConfiguration> sourceConfiguration = VmConfigurations.upgrades().stream()
+        // Skip the configurations with the current Geode
+        .filter(hasGeodeVersion(TestVersions.lessThan(TestVersion.CURRENT_VERSION)))
+        // Get the configuration with the latest Geode
+        .max(comparing(VmConfiguration::geodeVersion));
+    assumeThat(sourceConfiguration)
+        .as("newest old configuration")
+        .isNotEmpty();
 
     // create a cluster with the previous version of Geode
-    VM locatorVM = Host.getHost(0).getVM(testVersion, 0);
-    VM server1VM = Host.getHost(0).getVM(testVersion, 1);
+    VM locatorVM = Host.getHost(0).getVM(sourceConfiguration.get(), 0);
+    VM server1VM = Host.getHost(0).getVM(sourceConfiguration.get(), 1);
     int locatorPort = createLocator(locatorVM, true);
     createCacheAndRegion(server1VM, locatorPort);
     performCreate(getVM(1));
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/GetClusterConfigurationFunctionCompatibilityTest.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/GetClusterConfigurationFunctionCompatibilityTest.java
index 62f2a55303..e660708725 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/GetClusterConfigurationFunctionCompatibilityTest.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/GetClusterConfigurationFunctionCompatibilityTest.java
@@ -14,9 +14,12 @@
  */
 package org.apache.geode.internal.cache;
 
+
+import static java.util.stream.Collectors.toList;
+import static org.apache.geode.test.version.VmConfigurations.hasGeodeVersion;
+
 import java.util.Collection;
 import java.util.HashSet;
-import java.util.List;
 import java.util.Set;
 
 import org.junit.Rule;
@@ -31,25 +34,25 @@ import org.apache.geode.management.internal.configuration.functions.GetClusterCo
 import org.apache.geode.test.dunit.rules.ClusterStartupRule;
 import org.apache.geode.test.dunit.rules.MemberVM;
 import org.apache.geode.test.version.TestVersion;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.TestVersions;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 @RunWith(Parameterized.class)
 public class GetClusterConfigurationFunctionCompatibilityTest {
 
-  private final String oldVersion;
+  private final VmConfiguration sourceConfiguration;
 
-  @Parameterized.Parameters(name = "Version: {0}")
-  public static Collection<String> data() {
-    final TestVersion OLDEST_VERSION_SUPPORTING_GET_CLUSTER_CONFIGURATION_FUNCTION =
-        TestVersion.valueOf("1.12.0");
-    List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
-    result.removeIf(s -> TestVersion.valueOf(s)
-        .lessThan(OLDEST_VERSION_SUPPORTING_GET_CLUSTER_CONFIGURATION_FUNCTION));
-    return result;
+  @Parameterized.Parameters(name = "From {0}")
+  public static Collection<VmConfiguration> data() {
+    TestVersion minimumGeodeVersion = TestVersion.valueOf("1.12.0");
+    return VmConfigurations.upgrades().stream()
+        .filter(hasGeodeVersion(TestVersions.atLeast(minimumGeodeVersion)))
+        .collect(toList());
   }
 
-  public GetClusterConfigurationFunctionCompatibilityTest(String oldVersion) {
-    this.oldVersion = oldVersion;
+  public GetClusterConfigurationFunctionCompatibilityTest(VmConfiguration sourceConfiguration) {
+    this.sourceConfiguration = sourceConfiguration;
   }
 
   @Rule
@@ -64,11 +67,11 @@ public class GetClusterConfigurationFunctionCompatibilityTest {
   @Test
   public void newLocatorCanGetClusterConfigurationFromOldLocator() {
     // Start locators in old version
-    MemberVM locator1 = clusterStartupRule.startLocatorVM(0, oldVersion);
+    MemberVM locator1 = clusterStartupRule.startLocatorVM(0, sourceConfiguration);
     int locator1Port = locator1.getPort();
     MemberVM locator2 =
         clusterStartupRule.startLocatorVM(1, AvailablePortHelper.getRandomAvailableTCPPort(),
-            oldVersion, l -> l.withConnectionToLocator(locator1Port));
+            sourceConfiguration, l -> l.withConnectionToLocator(locator1Port));
     // Roll one locator to the new version
     locator2.stop(false);
     locator2 = clusterStartupRule.startLocatorVM(1, l -> l.withConnectionToLocator(locator1Port));
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/TxCommitMessageBCTestBase.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/TxCommitMessageBCTestBase.java
index 1d9f87b532..9fc3bcdeff 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/TxCommitMessageBCTestBase.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/TxCommitMessageBCTestBase.java
@@ -15,6 +15,7 @@
 package org.apache.geode.internal.cache;
 
 import static org.apache.geode.internal.AvailablePortHelper.getRandomAvailableTCPPort;
+import static org.assertj.core.api.Assertions.assertThat;
 
 import java.lang.reflect.Field;
 import java.lang.reflect.Modifier;
@@ -50,7 +51,8 @@ import org.apache.geode.test.dunit.VM;
 import org.apache.geode.test.dunit.internal.JUnit4DistributedTestCase;
 import org.apache.geode.test.junit.categories.BackwardCompatibilityTest;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 /**
  * This test class tests the communication pattern of a transaction for replicate and partition
@@ -70,17 +72,16 @@ import org.apache.geode.test.version.VersionManager;
 @SuppressWarnings("serial")
 public abstract class TxCommitMessageBCTestBase extends JUnit4DistributedTestCase {
   @Parameterized.Parameter
-  public String testVersion;
-
-  @Parameterized.Parameters
-  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");
-    } else {
-      System.out.println("running against these versions: " + result);
-    }
-    return result;
+  public VmConfiguration sourceConfiguration;
+
+  @Parameterized.Parameters(name = "From {0}")
+  public static Collection<VmConfiguration> data() {
+    List<VmConfiguration> sourceConfigurations = VmConfigurations.upgrades();
+    assertThat(sourceConfigurations)
+        .as("upgrade configurations")
+        .isNotEmpty();
+    System.out.println("upgrading from configurations: " + sourceConfigurations);
+    return sourceConfigurations;
   }
 
   protected static VM server1 = null;
@@ -106,7 +107,7 @@ public abstract class TxCommitMessageBCTestBase extends JUnit4DistributedTestCas
     server1 = host.getVM(0); // server
     server2 = host.getVM(1); // server
     server3 = host.getVM(2); // server with pool
-    client = host.getVM(testVersion, 3); // client
+    client = host.getVM(sourceConfiguration, 3);
     oldClient = host.getVM(4); // client old version
 
     int port1 =
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgrade2DUnitTestBase.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgrade2DUnitTestBase.java
index 47ce475ea3..88ee3520be 100755
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgrade2DUnitTestBase.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgrade2DUnitTestBase.java
@@ -20,6 +20,7 @@ import static org.apache.geode.test.dunit.Assert.assertEquals;
 import static org.apache.geode.test.dunit.Assert.assertFalse;
 import static org.apache.geode.test.dunit.Assert.assertTrue;
 import static org.apache.geode.test.dunit.Assert.fail;
+import static org.assertj.core.api.Assertions.assertThat;
 
 import java.io.DataInput;
 import java.io.DataOutput;
@@ -102,6 +103,8 @@ import org.apache.geode.test.dunit.rules.ClusterStartupRule;
 import org.apache.geode.test.dunit.rules.DistributedRule;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 /**
  * This test will not run properly in eclipse at this point due to having to bounce vms Currently,
@@ -121,15 +124,14 @@ import org.apache.geode.test.version.VersionManager;
 @Parameterized.UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)
 public abstract class RollingUpgrade2DUnitTestBase extends JUnit4DistributedTestCase {
 
-  @Parameterized.Parameters(name = "from_v{0}")
-  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");
-    } else {
-      System.out.println("running against these versions: " + result);
-    }
-    return result;
+  @Parameterized.Parameters(name = "From {0}")
+  public static Collection<VmConfiguration> data() {
+    List<VmConfiguration> sourceConfigurations = VmConfigurations.upgrades();
+    assertThat(sourceConfigurations)
+        .as("upgrade configurations")
+        .isNotEmpty();
+    System.out.println("upgrading from configurations: " + sourceConfigurations);
+    return sourceConfigurations;
   }
 
   File[] testingDirs = new File[3];
@@ -141,8 +143,7 @@ public abstract class RollingUpgrade2DUnitTestBase extends JUnit4DistributedTest
   protected static GemFireCache cache;
 
   @Parameterized.Parameter
-  public String oldVersion;
-
+  public VmConfiguration sourceConfiguration;
 
   private void deleteVMFiles() {
     System.out.println("deleting files in vm" + VM.getCurrentVMNum());
@@ -232,13 +233,14 @@ public abstract class RollingUpgrade2DUnitTestBase extends JUnit4DistributedTest
    * results are present. Note that the puts have overlapping region keys just to test new puts and
    * replaces
    */
-  void doTestPutAndGetMixedServers(String objectType, boolean partitioned, String oldVersion)
+  void doTestPutAndGetMixedServers(String objectType, boolean partitioned,
+      VmConfiguration sourceConfiguration)
       throws Exception {
     final Host host = Host.getHost(0);
     VM currentServer1 = host.getVM(VersionManager.CURRENT_VERSION, 0);
-    VM oldServerAndLocator = host.getVM(oldVersion, 1);
+    VM oldServerAndLocator = host.getVM(sourceConfiguration, 1);
     VM currentServer2 = host.getVM(VersionManager.CURRENT_VERSION, 2);
-    VM oldServer2 = host.getVM(oldVersion, 3);
+    VM oldServer2 = host.getVM(sourceConfiguration, 3);
 
     String regionName = "aRegion";
 
@@ -296,12 +298,13 @@ public abstract class RollingUpgrade2DUnitTestBase extends JUnit4DistributedTest
     }
   }
 
-  void doTestQueryMixedServers(boolean partitioned, String oldVersion) throws Exception {
+  void doTestQueryMixedServers(boolean partitioned, VmConfiguration sourceConfiguration)
+      throws Exception {
     final Host host = Host.getHost(0);
     VM currentServer1 = host.getVM(VersionManager.CURRENT_VERSION, 0);
-    VM oldServer = host.getVM(oldVersion, 1);
+    VM oldServer = host.getVM(sourceConfiguration, 1);
     VM currentServer2 = host.getVM(VersionManager.CURRENT_VERSION, 2);
-    VM oldServerAndLocator = host.getVM(oldVersion, 3);
+    VM oldServerAndLocator = host.getVM(sourceConfiguration, 3);
 
     String regionName = "cqs";
 
@@ -359,12 +362,12 @@ public abstract class RollingUpgrade2DUnitTestBase extends JUnit4DistributedTest
   }
 
   void doTestCreateIndexes(boolean createMultiIndexes, boolean partitioned,
-      String oldVersion) throws Exception {
+      VmConfiguration sourceConfiguration) throws Exception {
     final Host host = Host.getHost(0);
     final VM currentServer1 = host.getVM(VersionManager.CURRENT_VERSION, 0);
-    final VM oldServer = host.getVM(oldVersion, 1);
+    final VM oldServer = host.getVM(sourceConfiguration, 1);
     final VM currentServer2 = host.getVM(VersionManager.CURRENT_VERSION, 2);
-    final VM oldServerAndLocator = host.getVM(oldVersion, 3);
+    final VM oldServerAndLocator = host.getVM(sourceConfiguration, 3);
 
     String regionName = "cqs";
 
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeClients.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeClients.java
index 9b05d84017..31f3f838ba 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeClients.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeClients.java
@@ -33,10 +33,10 @@ public class RollingUpgradeClients extends RollingUpgrade2DUnitTestBase {
   @Test
   public void testClients() throws Exception {
     final Host host = Host.getHost(0);
-    VM locator = host.getVM(oldVersion, 0);
-    VM server2 = host.getVM(oldVersion, 1);
-    VM server3 = host.getVM(oldVersion, 2);
-    VM client = host.getVM(oldVersion, 3);
+    VM locator = host.getVM(sourceConfiguration, 0);
+    VM server2 = host.getVM(sourceConfiguration, 1);
+    VM server3 = host.getVM(sourceConfiguration, 2);
+    VM client = host.getVM(sourceConfiguration, 3);
 
     final String objectType = "strings";
     final String regionName = "aRegion";
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeConcurrentPutsReplicated.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeConcurrentPutsReplicated.java
index ea0bc682a4..26d6543ab7 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeConcurrentPutsReplicated.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeConcurrentPutsReplicated.java
@@ -26,7 +26,6 @@ import org.apache.geode.distributed.internal.InternalLocator;
 import org.apache.geode.internal.AvailablePortHelper;
 import org.apache.geode.test.dunit.AsyncInvocation;
 import org.apache.geode.test.dunit.DistributedTestUtils;
-import org.apache.geode.test.dunit.Host;
 import org.apache.geode.test.dunit.Invoke;
 import org.apache.geode.test.dunit.NetworkUtils;
 import org.apache.geode.test.dunit.ThreadUtils;
@@ -41,10 +40,9 @@ public class RollingUpgradeConcurrentPutsReplicated extends RollingUpgrade2DUnit
    */
   @Test
   public void testConcurrentPutsReplicated() {
-    Host host = Host.getHost(0);
-    VM locator = host.getVM(oldVersion, 1);
-    VM server1 = host.getVM(oldVersion, 2);
-    VM server2 = host.getVM(oldVersion, 3);
+    VM locator = VM.getVM(sourceConfiguration, 1);
+    VM server1 = VM.getVM(sourceConfiguration, 2);
+    VM server2 = VM.getVM(sourceConfiguration, 3);
 
     final String objectType = "strings";
     final String regionName = "aRegion";
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeCreateIndexesMixedServersOnPartitionedRegions.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeCreateIndexesMixedServersOnPartitionedRegions.java
index f5896189c7..7759a303bb 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeCreateIndexesMixedServersOnPartitionedRegions.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeCreateIndexesMixedServersOnPartitionedRegions.java
@@ -22,7 +22,7 @@ public class RollingUpgradeCreateIndexesMixedServersOnPartitionedRegions
 
   @Test
   public void testCreateIndexesMixedServersOnPartitionedRegions() throws Exception {
-    doTestCreateIndexes(false, true, oldVersion);
+    doTestCreateIndexes(false, true, sourceConfiguration);
   }
 
 }
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeCreateMultiIndexesMixedServersOnPartitionedRegions.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeCreateMultiIndexesMixedServersOnPartitionedRegions.java
index cb0848aad3..ca4ce51238 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeCreateMultiIndexesMixedServersOnPartitionedRegions.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeCreateMultiIndexesMixedServersOnPartitionedRegions.java
@@ -24,7 +24,7 @@ public class RollingUpgradeCreateMultiIndexesMixedServersOnPartitionedRegions
   @Ignore("GEODE_2356: test fails when index creation succeeds")
   @Test
   public void testCreateMultiIndexesMixedServersOnPartitionedRegions() throws Exception {
-    doTestCreateIndexes(true, true, oldVersion);
+    doTestCreateIndexes(true, true, sourceConfiguration);
   }
 
 }
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeHARegionNameOnDifferentServerVersions.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeHARegionNameOnDifferentServerVersions.java
index f6b31e372d..12fe560a5f 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeHARegionNameOnDifferentServerVersions.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeHARegionNameOnDifferentServerVersions.java
@@ -34,10 +34,10 @@ public class RollingUpgradeHARegionNameOnDifferentServerVersions
   @Test
   public void testHARegionNameOnDifferentServerVersions() {
     final Host host = Host.getHost(0);
-    VM locator = host.getVM(oldVersion, 0);
-    VM server1 = host.getVM(oldVersion, 1);
+    VM locator = host.getVM(sourceConfiguration, 0);
+    VM server1 = host.getVM(sourceConfiguration, 1);
     VM server2 = host.getVM(VersionManager.CURRENT_VERSION, 2);
-    VM client = host.getVM(oldVersion, 3);
+    VM client = host.getVM(sourceConfiguration, 3);
 
     int[] ports = AvailablePortHelper.getRandomAvailableTCPPorts(3);
     int[] locatorPorts = new int[] {ports[0]};
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeNonHAFunction.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeNonHAFunction.java
index 17983e5a91..50a16b39be 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeNonHAFunction.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeNonHAFunction.java
@@ -49,9 +49,9 @@ public class RollingUpgradeNonHAFunction extends RollingUpgrade2DUnitTestBase {
       throws Exception {
     final Host host = Host.getHost(0);
     VM currentServer1 = host.getVM(VersionManager.CURRENT_VERSION, 0);
-    VM oldServer = host.getVM(oldVersion, 1);
+    VM oldServer = host.getVM(sourceConfiguration, 1);
     VM currentServer2 = host.getVM(VersionManager.CURRENT_VERSION, 2);
-    VM oldServerAndLocator = host.getVM(oldVersion, 3);
+    VM oldServerAndLocator = host.getVM(sourceConfiguration, 3);
 
     String regionName = "cqs";
 
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeOldMemberCantJoinRolledLocators.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeOldMemberCantJoinRolledLocators.java
index d8b854d583..c8fc303b3e 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeOldMemberCantJoinRolledLocators.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeOldMemberCantJoinRolledLocators.java
@@ -31,7 +31,7 @@ public class RollingUpgradeOldMemberCantJoinRolledLocators extends RollingUpgrad
    */
   @Test
   public void testOldMemberCantJoinRolledLocators() {
-    VM oldServer = Host.getHost(0).getVM(oldVersion, 1);
+    VM oldServer = Host.getHost(0).getVM(sourceConfiguration, 1);
     Properties props = getSystemProperties(); // uses the DUnit locator
     try {
       oldServer.invoke(invokeCreateCache(props));
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeOplogMagicSeqBackwardCompactibility.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeOplogMagicSeqBackwardCompactibility.java
index 9038bac732..470a0c21c2 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeOplogMagicSeqBackwardCompactibility.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeOplogMagicSeqBackwardCompactibility.java
@@ -40,10 +40,10 @@ public class RollingUpgradeOplogMagicSeqBackwardCompactibility
 
 
     final Host host = Host.getHost(0);
-    VM server1 = host.getVM(oldVersion, 0);
-    VM server2 = host.getVM(oldVersion, 1);
-    VM server3 = host.getVM(oldVersion, 2);
-    VM locator = host.getVM(oldVersion, 3);
+    VM server1 = host.getVM(sourceConfiguration, 0);
+    VM server2 = host.getVM(sourceConfiguration, 1);
+    VM server3 = host.getVM(sourceConfiguration, 2);
+    VM locator = host.getVM(sourceConfiguration, 3);
 
     String regionName = "aRegion";
     RegionShortcut shortcut = RegionShortcut.REPLICATE_PERSISTENT;
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradePutAndGetMixedServerPartitionedRegion.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradePutAndGetMixedServerPartitionedRegion.java
index 7f80a92297..0cafbe5654 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradePutAndGetMixedServerPartitionedRegion.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradePutAndGetMixedServerPartitionedRegion.java
@@ -22,7 +22,7 @@ public class RollingUpgradePutAndGetMixedServerPartitionedRegion
 
   @Test
   public void testPutAndGetMixedServerPartitionedRegion() throws Exception {
-    doTestPutAndGetMixedServers("dataserializable", true, oldVersion);
+    doTestPutAndGetMixedServers("dataserializable", true, sourceConfiguration);
   }
 
 
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradePutAndGetMixedServersReplicateRegion.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradePutAndGetMixedServersReplicateRegion.java
index b6e9bd742e..d5af667f72 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradePutAndGetMixedServersReplicateRegion.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradePutAndGetMixedServersReplicateRegion.java
@@ -22,7 +22,7 @@ public class RollingUpgradePutAndGetMixedServersReplicateRegion
 
   @Test
   public void testPutAndGetMixedServersReplicateRegion() throws Exception {
-    doTestPutAndGetMixedServers("dataserializable", false, oldVersion);
+    doTestPutAndGetMixedServers("dataserializable", false, sourceConfiguration);
   }
 
 }
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeQueryMixedServersOnPartitionedRegions.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeQueryMixedServersOnPartitionedRegions.java
index 57d50dbda0..c25965dd85 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeQueryMixedServersOnPartitionedRegions.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeQueryMixedServersOnPartitionedRegions.java
@@ -22,7 +22,7 @@ public class RollingUpgradeQueryMixedServersOnPartitionedRegions
 
   @Test
   public void testQueryMixedServersOnPartitionedRegions() throws Exception {
-    doTestQueryMixedServers(true, oldVersion);
+    doTestQueryMixedServers(true, sourceConfiguration);
   }
 
 }
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeQueryMixedServersOnReplicatedRegions.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeQueryMixedServersOnReplicatedRegions.java
index 66f77e44cf..d712dae7fb 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeQueryMixedServersOnReplicatedRegions.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeQueryMixedServersOnReplicatedRegions.java
@@ -21,7 +21,7 @@ public class RollingUpgradeQueryMixedServersOnReplicatedRegions
 
   @Test
   public void testQueryMixedServersOnReplicatedRegions() throws Exception {
-    doTestQueryMixedServers(false, oldVersion);
+    doTestQueryMixedServers(false, sourceConfiguration);
   }
 
 }
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollLocatorWithTwoServers.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollLocatorWithTwoServers.java
index c42bca3643..aed443359b 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollLocatorWithTwoServers.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollLocatorWithTwoServers.java
@@ -36,9 +36,9 @@ public class RollingUpgradeRollLocatorWithTwoServers extends RollingUpgrade2DUni
   @Test
   public void testRollLocatorWithTwoServers() throws Exception {
     final Host host = Host.getHost(0);
-    VM locator1 = host.getVM(oldVersion, 0);
-    VM server3 = host.getVM(oldVersion, 2);
-    VM server4 = host.getVM(oldVersion, 3);
+    VM locator1 = host.getVM(sourceConfiguration, 0);
+    VM server3 = host.getVM(sourceConfiguration, 2);
+    VM server4 = host.getVM(sourceConfiguration, 3);
 
     final String objectType = "strings";
     final String regionName = "aRegion";
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollLocatorsWithOldServer.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollLocatorsWithOldServer.java
index 30c54ccb42..0118cec682 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollLocatorsWithOldServer.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollLocatorsWithOldServer.java
@@ -35,9 +35,9 @@ public class RollingUpgradeRollLocatorsWithOldServer extends RollingUpgrade2DUni
   @Test
   public void testRollLocatorsWithOldServer() {
     final Host host = Host.getHost(0);
-    VM locator1 = host.getVM(oldVersion, 0);
-    VM locator2 = host.getVM(oldVersion, 1);
-    VM server4 = host.getVM(oldVersion, 3);
+    VM locator1 = host.getVM(sourceConfiguration, 0);
+    VM locator2 = host.getVM(sourceConfiguration, 1);
+    VM server4 = host.getVM(sourceConfiguration, 3);
 
     int[] locatorPorts = AvailablePortHelper.getRandomAvailableTCPPorts(3);
     locator1.invoke(() -> DistributedTestUtils.deleteLocatorStateFile(locatorPorts));
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollSingleLocatorWithMultipleServersReplicatedRegion.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollSingleLocatorWithMultipleServersReplicatedRegion.java
index 69f2c8109c..ece569855b 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollSingleLocatorWithMultipleServersReplicatedRegion.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeRollSingleLocatorWithMultipleServersReplicatedRegion.java
@@ -33,9 +33,9 @@ public class RollingUpgradeRollSingleLocatorWithMultipleServersReplicatedRegion
   @Test
   public void testRollSingleLocatorWithMultipleServersReplicatedRegion() throws Exception {
     final Host host = Host.getHost(0);
-    VM locator = host.getVM(oldVersion, 0);
-    VM server2 = host.getVM(oldVersion, 1);
-    VM server3 = host.getVM(oldVersion, 2);
+    VM locator = host.getVM(sourceConfiguration, 0);
+    VM server2 = host.getVM(sourceConfiguration, 1);
+    VM server3 = host.getVM(sourceConfiguration, 2);
 
     final String objectType = "strings";
     final String regionName = "aRegion";
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeTracePRQuery.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeTracePRQuery.java
index 5b11f89310..5796845ca5 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeTracePRQuery.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeTracePRQuery.java
@@ -37,9 +37,9 @@ public class RollingUpgradeTracePRQuery extends RollingUpgrade2DUnitTestBase {
   public void testTracePRQuery() throws Exception {
     final Host host = Host.getHost(0);
     VM currentServer1 = host.getVM(VersionManager.CURRENT_VERSION, 0);
-    VM oldServer = host.getVM(oldVersion, 1);
+    VM oldServer = host.getVM(sourceConfiguration, 1);
     VM currentServer2 = host.getVM(VersionManager.CURRENT_VERSION, 2);
-    VM oldServerAndLocator = host.getVM(oldVersion, 3);
+    VM oldServerAndLocator = host.getVM(sourceConfiguration, 3);
 
     String regionName = "cqs";
 
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeVerifyXmlEntity.java b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeVerifyXmlEntity.java
index 6fb76bc1db..987fb64be9 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeVerifyXmlEntity.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeVerifyXmlEntity.java
@@ -36,8 +36,8 @@ public class RollingUpgradeVerifyXmlEntity extends RollingUpgrade2DUnitTestBase
   // previous versions and vice versa.
   public void testVerifyXmlEntity() {
     final Host host = Host.getHost(0);
-    VM oldLocator = host.getVM(oldVersion, 0);
-    VM oldServer = host.getVM(oldVersion, 1);
+    VM oldLocator = host.getVM(sourceConfiguration, 0);
+    VM oldServer = host.getVM(sourceConfiguration, 1);
     VM currentServer1 = host.getVM(VersionManager.CURRENT_VERSION, 2);
     VM currentServer2 = host.getVM(VersionManager.CURRENT_VERSION, 3);
 
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/security/AuthExpirationBackwardCompatibleDUnitTest.java b/geode-core/src/upgradeTest/java/org/apache/geode/security/AuthExpirationBackwardCompatibleDUnitTest.java
index 67bd11fa27..760b6a10d2 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/security/AuthExpirationBackwardCompatibleDUnitTest.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/security/AuthExpirationBackwardCompatibleDUnitTest.java
@@ -14,11 +14,13 @@
  */
 package org.apache.geode.security;
 
+import static java.util.stream.Collectors.toList;
 import static org.apache.geode.cache.query.dunit.SecurityTestUtils.createAndExecuteCQ;
 import static org.apache.geode.distributed.ConfigurationProperties.DURABLE_CLIENT_ID;
 import static org.apache.geode.distributed.ConfigurationProperties.DURABLE_CLIENT_TIMEOUT;
 import static org.apache.geode.distributed.ConfigurationProperties.SECURITY_CLIENT_AUTH_INIT;
 import static org.apache.geode.test.awaitility.GeodeAwaitility.await;
+import static org.apache.geode.test.version.VmConfigurations.hasGeodeVersion;
 import static org.assertj.core.api.Assertions.assertThat;
 import static org.assertj.core.api.Assertions.assertThatThrownBy;
 
@@ -58,24 +60,28 @@ import org.apache.geode.test.junit.categories.SecurityTest;
 import org.apache.geode.test.junit.rules.ServerStarterRule;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
 import org.apache.geode.test.version.TestVersion;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.TestVersions;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 @Category({SecurityTest.class})
 @RunWith(Parameterized.class)
 @Parameterized.UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)
 public class AuthExpirationBackwardCompatibleDUnitTest {
-  private static final String test_start_version = "1.14.0";
-  private static final String feature_start_version = "1.15.0";
+  // only test versions greater than or equal to 1.14.0
+  private static final TestVersion test_start_version = TestVersion.valueOf("1.14.0");
+  private static final TestVersion feature_start_version = TestVersion.valueOf("1.15.0");
   private static RegionService user0Service;
   private static RegionService user1Service;
 
   @Parameterized.Parameter
-  public String clientVersion;
+  public VmConfiguration clientVmConfiguration;
 
-  @Parameterized.Parameters(name = "{0}")
-  public static Collection<String> data() {
-    // only test versions greater than or equal to 1.14.0
-    return VersionManager.getInstance().getVersionsLaterThanAndEqualTo(test_start_version);
+  @Parameterized.Parameters(name = "Client {0}")
+  public static Collection<VmConfiguration> data() {
+    return VmConfigurations.all().stream()
+        .filter(hasGeodeVersion(TestVersions.atLeast(test_start_version)))
+        .collect(toList());
   }
 
   @Rule
@@ -102,7 +108,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   @Test
   public void clientWithNoUserRefreshWillNotSucceed() throws Exception {
     int serverPort = server.getPort();
-    ClientVM clientVM = cluster.startClientVM(0, clientVersion,
+    ClientVM clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withPoolSubscription(true)
             .withServerConnection(serverPort));
@@ -151,7 +157,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   public void singleUserModeShouldReAuthenticateWhenCredentialExpiredAndOperationSucceed()
       throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withPoolSubscription(true)
             .withServerConnection(serverPort));
@@ -195,7 +201,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   public void multiUserModeShouldReAuthenticateWhenCredentialExpiredAndOperationSucceed()
       throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withMultiUser(true)
             .withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withPoolSubscription(true)
@@ -261,7 +267,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   @Test
   public void cqOlderClientWillNotReAuthenticateAutomatically() throws Exception {
     // this test should only test the older client
-    if (TestVersion.compare(clientVersion, feature_start_version) >= 0) {
+    if (clientVmConfiguration.geodeVersion().greaterThanOrEqualTo(feature_start_version)) {
       return;
     }
 
@@ -316,7 +322,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   // the client will be terminated by the CacheClientUpdater
   public void multiUserCq() throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withMultiUser(true)
             .withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withPoolSubscription(true)
@@ -369,7 +375,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   @Test
   public void createCQWillReAuth() throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withPoolSubscription(true)
             .withServerConnection(serverPort));
@@ -402,7 +408,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   @Test
   public void stopCQ() throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withPoolSubscription(true)
             .withServerConnection(serverPort));
@@ -435,7 +441,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   @Test
   public void closeCQ() throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withPoolSubscription(true)
             .withServerConnection(serverPort));
@@ -468,7 +474,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   @Test
   public void registeredInterestForDefaultInterestPolicy() throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withCacheSetup(
                 ccf -> ccf.setPoolSubscriptionEnabled(true).setPoolSubscriptionRedundancy(0))
@@ -514,7 +520,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   @Test
   public void registeredInterest_PolicyNone_non_durableClient() throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withPoolSubscription(true)
             .withServerConnection(serverPort));
@@ -542,7 +548,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
     // for old client, server close the proxy, client have reconnect mechanism which
     // also triggers re-auth, clients re-register interest, but with InterestResultPolicy.NONE
     // there would be message loss
-    if (TestVersion.compare(clientVersion, feature_start_version) < 0) {
+    if (clientVmConfiguration.geodeVersion().lessThan(feature_start_version)) {
       clientVM.invoke(() -> {
         Region<Object, Object> clientRegion =
             ClusterStartupRule.getClientCache().getRegion("region");
@@ -571,7 +577,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   @Test
   public void registeredInterestForInterestPolicyNone_durableClient() throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withPoolSubscription(true)
             .withProperty(DURABLE_CLIENT_ID, "123456")
@@ -616,7 +622,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   @Test
   public void registeredInterest_FailedReAuth_non_durableClient() throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withPoolSubscription(true)
             .withServerConnection(serverPort));
@@ -650,7 +656,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
   @Test
   public void registeredInterest_FailedReAuth_durableClient() throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withProperty(DURABLE_CLIENT_ID, "123456")
             .withProperty(DURABLE_CLIENT_TIMEOUT, "10")
@@ -689,7 +695,7 @@ public class AuthExpirationBackwardCompatibleDUnitTest {
 
   private void startClientWithCQ() throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withCacheSetup(
                 ccf -> ccf.setPoolSubscriptionRedundancy(2).setPoolSubscriptionEnabled(true))
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/security/AuthExpirationTransactionUpgradeTest.java b/geode-core/src/upgradeTest/java/org/apache/geode/security/AuthExpirationTransactionUpgradeTest.java
index 4b5049e647..62b1f7cf5f 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/security/AuthExpirationTransactionUpgradeTest.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/security/AuthExpirationTransactionUpgradeTest.java
@@ -16,7 +16,9 @@
 
 package org.apache.geode.security;
 
+import static java.util.stream.Collectors.toList;
 import static org.apache.geode.distributed.ConfigurationProperties.SECURITY_CLIENT_AUTH_INIT;
+import static org.apache.geode.test.version.VmConfigurations.hasGeodeVersion;
 import static org.assertj.core.api.Assertions.assertThat;
 import static org.assertj.core.api.Assertions.assertThatThrownBy;
 
@@ -50,22 +52,26 @@ import org.apache.geode.test.junit.categories.SecurityTest;
 import org.apache.geode.test.junit.rules.ServerStarterRule;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
 import org.apache.geode.test.version.TestVersion;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.TestVersions;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 @Category({SecurityTest.class})
 @RunWith(Parameterized.class)
 @Parameterized.UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)
 public class AuthExpirationTransactionUpgradeTest {
   // only test versions greater than or equal to 1.14.0
-  private static final String test_start_version = "1.14.0";
+  private static final TestVersion test_start_version = TestVersion.valueOf("1.14.0");
   private static final String feature_start_version = "1.15.0";
 
   @Parameterized.Parameter
-  public String clientVersion;
+  public VmConfiguration clientVmConfiguration;
 
-  @Parameterized.Parameters(name = "{0}")
-  public static Collection<String> data() {
-    return VersionManager.getInstance().getVersionsLaterThanAndEqualTo(test_start_version);
+  @Parameterized.Parameters(name = "Client {0}")
+  public static Collection<VmConfiguration> data() {
+    return VmConfigurations.all().stream()
+        .filter(hasGeodeVersion(TestVersions.atLeast(test_start_version)))
+        .collect(toList());
   }
 
   @Rule
@@ -84,7 +90,7 @@ public class AuthExpirationTransactionUpgradeTest {
   @Before
   public void init() throws Exception {
     int serverPort = server.getPort();
-    clientVM = cluster.startClientVM(0, clientVersion,
+    clientVM = cluster.startClientVM(0, clientVmConfiguration,
         c -> c.withProperty(SECURITY_CLIENT_AUTH_INIT, UpdatableUserAuthInitialize.class.getName())
             .withPoolSubscription(true)
             .withServerConnection(serverPort));
@@ -130,7 +136,7 @@ public class AuthExpirationTransactionUpgradeTest {
         clientVM.invoke(() -> firstSetOfPutOperations("transaction0", "region", 0, 3));
 
     getSecurityManager().addExpiredUser("transaction0");
-    String client_version = clientVersion;
+    String client_version = clientVmConfiguration.geodeVersion().toString();
 
     clientVM.invoke(() -> {
       ClientCache clientCache = ClusterStartupRule.getClientCache();
@@ -173,7 +179,7 @@ public class AuthExpirationTransactionUpgradeTest {
         clientVM.invoke(() -> firstSetOfPutOperations("transaction0", "region", 0, 3));
 
     getSecurityManager().addExpiredUser("transaction0");
-    String client_version = clientVersion;
+    String client_version = clientVmConfiguration.geodeVersion().toString();
 
     clientVM.invoke(() -> {
       ClientCache clientCache = ClusterStartupRule.getClientCache();
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthDUnitTest.java b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthDUnitTest.java
index 24e7c505d9..8cc77082db 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthDUnitTest.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthDUnitTest.java
@@ -17,7 +17,6 @@ package org.apache.geode.security;
 import static org.apache.geode.distributed.ConfigurationProperties.SECURITY_MANAGER;
 import static org.assertj.core.api.Assertions.assertThatThrownBy;
 
-import java.util.Arrays;
 import java.util.Collection;
 
 import org.junit.Rule;
@@ -39,7 +38,9 @@ import org.apache.geode.test.dunit.rules.ClusterStartupRule;
 import org.apache.geode.test.junit.categories.SecurityTest;
 import org.apache.geode.test.junit.rules.ServerStarterRule;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.TestVersion;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 @Category({SecurityTest.class})
 @RunWith(Parameterized.class)
@@ -47,11 +48,11 @@ import org.apache.geode.test.version.VersionManager;
 public class ClientAuthDUnitTest {
 
   @Parameterized.Parameter
-  public String clientVersion;
+  public VmConfiguration clientVmConfiguration;
 
-  @Parameterized.Parameters(name = "{0}")
-  public static Collection<String> data() {
-    return VersionManager.getInstance().getVersions();
+  @Parameterized.Parameters(name = "Client {0}")
+  public static Collection<VmConfiguration> data() {
+    return VmConfigurations.all();
   }
 
   @Rule
@@ -65,7 +66,7 @@ public class ClientAuthDUnitTest {
   @Test
   public void authWithCorrectPasswordShouldPass() throws Exception {
     int serverPort = server.getPort();
-    ClientVM clientVM = lsRule.startClientVM(0, clientVersion,
+    ClientVM clientVM = lsRule.startClientVM(0, clientVmConfiguration,
         c -> c.withCredential("data", "data")
             .withPoolSubscription(true)
             .withServerConnection(serverPort));
@@ -86,10 +87,9 @@ public class ClientAuthDUnitTest {
 
     // for older version of client when we did not implement lazy initialization of the pool, the
     // authentication error will happen at this step.
-    if (Arrays.asList("1.0.0-incubating", "1.1.0", "1.1.1", "1.2.0", "1.3.0", "1.4.0")
-        .contains(clientVersion)) {
+    if (clientVmConfiguration.geodeVersion().lessThanOrEqualTo(TestVersion.valueOf("1.4.0"))) {
       assertThatThrownBy(
-          () -> lsRule.startClientVM(0, clientVersion,
+          () -> lsRule.startClientVM(0, clientVmConfiguration,
               c -> c.withCredential("test", "invalidPassword")
                   .withPoolSubscription(true)
                   .withServerConnection(serverPort)))
@@ -98,9 +98,10 @@ public class ClientAuthDUnitTest {
     }
 
     ClientVM clientVM =
-        lsRule.startClientVM(0, clientVersion, c -> c.withCredential("test", "invalidPassword")
-            .withPoolSubscription(true)
-            .withServerConnection(serverPort));
+        lsRule.startClientVM(0, clientVmConfiguration,
+            c -> c.withCredential("test", "invalidPassword")
+                .withPoolSubscription(true)
+                .withServerConnection(serverPort));
 
     clientVM.invoke(() -> {
       ClientCache clientCache = ClusterStartupRule.getClientCache();
@@ -115,8 +116,8 @@ public class ClientAuthDUnitTest {
   public void authWithIncorrectPasswordWithSubscriptionNotEnabled() throws Exception {
     int serverPort = server.getPort();
     IgnoredException.addIgnoredException(AuthenticationFailedException.class.getName());
-    ClientVM clientVM =
-        lsRule.startClientVM(0, clientVersion, c -> c.withCredential("test", "invalidPassword")
+    ClientVM clientVM = lsRule.startClientVM(0, clientVmConfiguration,
+        c -> c.withCredential("test", "invalidPassword")
             .withPoolSubscription(false)
             .withServerConnection(serverPort));
 
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationDUnitTest.java b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationDUnitTest.java
index 8b188252d3..80acb54b68 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationDUnitTest.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationDUnitTest.java
@@ -14,6 +14,9 @@
  */
 package org.apache.geode.security;
 
+
+import static org.assertj.core.api.Assertions.assertThat;
+
 import java.util.Collection;
 import java.util.List;
 
@@ -27,7 +30,8 @@ import org.junit.runners.Parameterized.UseParametersRunnerFactory;
 
 import org.apache.geode.test.junit.categories.SecurityTest;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 /**
  * Test for authentication from client to server. This tests for both valid and invalid
@@ -41,18 +45,18 @@ import org.apache.geode.test.version.VersionManager;
 @UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)
 public class ClientAuthenticationDUnitTest extends ClientAuthenticationTestCase {
 
-  @Parameters(name = "{0}")
-  public static Collection<String> data() {
-    List<String> result = VersionManager.getInstance().getVersions();
-    if (result.size() < 1) {
-      throw new RuntimeException("No older versions of Geode were found to test against");
-    }
-    System.out.println("running against these versions: " + result);
-    return result;
+  @Parameters(name = "Client {0}")
+  public static Collection<VmConfiguration> data() {
+    List<VmConfiguration> vmConfigurations = VmConfigurations.all();
+    assertThat(vmConfigurations)
+        .as("client configurations")
+        .isNotEmpty();
+    System.out.println("using client configurations: " + vmConfigurations);
+    return vmConfigurations;
   }
 
-  public ClientAuthenticationDUnitTest(String version) {
-    clientVersion = version;
+  public ClientAuthenticationDUnitTest(VmConfiguration clientVmConfiguration) {
+    super(clientVmConfiguration);
   }
 
   @Test
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationPart2DUnitTest.java b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationPart2DUnitTest.java
index 7453441c33..3490b559b5 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationPart2DUnitTest.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationPart2DUnitTest.java
@@ -14,6 +14,7 @@
  */
 package org.apache.geode.security;
 
+import static org.assertj.core.api.Assertions.assertThat;
 import static org.mockito.Mockito.any;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
@@ -27,13 +28,15 @@ import org.junit.Test;
 import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameters;
 
 import org.apache.geode.internal.cache.tier.MessageType;
 import org.apache.geode.internal.cache.tier.sockets.Message;
 import org.apache.geode.internal.cache.tier.sockets.ServerConnection;
 import org.apache.geode.test.junit.categories.SecurityTest;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 /**
  * this class contains test methods that used to be in its superclass but that test started taking
@@ -43,20 +46,18 @@ import org.apache.geode.test.version.VersionManager;
 @RunWith(Parameterized.class)
 @Parameterized.UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)
 public class ClientAuthenticationPart2DUnitTest extends ClientAuthenticationTestCase {
-  @Parameterized.Parameters
-  public static Collection<String> data() {
-    List<String> result = VersionManager.getInstance().getVersions();
-    if (result.size() < 1) {
-      throw new RuntimeException("No older versions of Geode were found to test against");
-    } else {
-      System.out.println("running against these versions: " + result);
-    }
-    return result;
+  @Parameters(name = "Client {0}")
+  public static Collection<VmConfiguration> data() {
+    List<VmConfiguration> vmConfigurations = VmConfigurations.all();
+    assertThat(vmConfigurations)
+        .as("client configurations")
+        .isNotEmpty();
+    System.out.println("using client configurations: " + vmConfigurations);
+    return vmConfigurations;
   }
 
-  public ClientAuthenticationPart2DUnitTest(String version) {
-    super();
-    clientVersion = version;
+  public ClientAuthenticationPart2DUnitTest(VmConfiguration clientVmConfiguration) {
+    super(clientVmConfiguration);
   }
 
   @Test
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationTestCase.java b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationTestCase.java
index ad89413f1d..fad659f221 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationTestCase.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthenticationTestCase.java
@@ -67,6 +67,7 @@ import org.apache.geode.test.dunit.Host;
 import org.apache.geode.test.dunit.VM;
 import org.apache.geode.test.dunit.internal.JUnit4DistributedTestCase;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
 
 public abstract class ClientAuthenticationTestCase extends JUnit4DistributedTestCase {
 
@@ -85,6 +86,10 @@ public abstract class ClientAuthenticationTestCase extends JUnit4DistributedTest
       {AuthenticationRequiredException.class.getName(),
           AuthenticationFailedException.class.getName(), SSLHandshakeException.class.getName()};
 
+  public ClientAuthenticationTestCase(VmConfiguration clientVmConfiguration) {
+    this.clientVmConfiguration = clientVmConfiguration;
+  }
+
 
   public enum Color {
     red, orange, yellow, green, blue, indigo, violet
@@ -115,7 +120,8 @@ public abstract class ClientAuthenticationTestCase extends JUnit4DistributedTest
     }
   }
 
-  public String clientVersion = VersionManager.CURRENT_VERSION;
+  protected final VmConfiguration clientVmConfiguration;
+
 
   @Override
   public final void postSetUp() throws Exception {
@@ -124,13 +130,8 @@ public abstract class ClientAuthenticationTestCase extends JUnit4DistributedTest
     server2 = host.getVM(VersionManager.CURRENT_VERSION, 1);
     server1.invoke(() -> ServerConnection.allowInternalMessagesWithoutCredentials = false);
     server2.invoke(() -> ServerConnection.allowInternalMessagesWithoutCredentials = false);
-    if (VersionManager.isCurrentVersion(clientVersion)) {
-      client1 = host.getVM(VersionManager.CURRENT_VERSION, 2);
-      client2 = host.getVM(VersionManager.CURRENT_VERSION, 3);
-    } else {
-      client1 = host.getVM(clientVersion, 2);
-      client2 = host.getVM(clientVersion, 3);
-    }
+    client1 = host.getVM(clientVmConfiguration, 2);
+    client2 = host.getVM(clientVmConfiguration, 3);
 
     addIgnoredException("Connection refused: connect");
 
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthorizationLegacyConfigurationDUnitTest.java b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthorizationLegacyConfigurationDUnitTest.java
index 2d3eccaa6f..d43496a980 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthorizationLegacyConfigurationDUnitTest.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientAuthorizationLegacyConfigurationDUnitTest.java
@@ -44,7 +44,8 @@ import org.apache.geode.test.dunit.rules.ClusterStartupRule;
 import org.apache.geode.test.dunit.rules.MemberVM;
 import org.apache.geode.test.junit.categories.SecurityTest;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 @Category({SecurityTest.class})
 @RunWith(Parameterized.class)
@@ -75,11 +76,11 @@ public class ClientAuthorizationLegacyConfigurationDUnitTest {
 
   // Using a client of every version...
   @Parameterized.Parameter
-  public String clientVersion;
+  public VmConfiguration clientVmConfiguration;
 
-  @Parameterized.Parameters(name = "clientVersion={0}")
-  public static Collection<String> data() {
-    return VersionManager.getInstance().getVersions();
+  @Parameterized.Parameters(name = "Client {0}")
+  public static Collection<VmConfiguration> data() {
+    return VmConfigurations.all();
   }
 
   @Test
@@ -96,8 +97,8 @@ public class ClientAuthorizationLegacyConfigurationDUnitTest {
 
     int locatorPort = locator.getPort();
 
-    ClientVM client = csRule.startClientVM(2, clientVersion, c -> c.withCredential("data", "data")
-        .withLocatorConnection(locatorPort));
+    ClientVM client = csRule.startClientVM(2, clientVmConfiguration,
+        c -> c.withCredential("data", "data").withLocatorConnection(locatorPort));
 
     client.invoke(() -> {
       ClientCache cache = ClusterStartupRule.getClientCache();
@@ -139,7 +140,7 @@ public class ClientAuthorizationLegacyConfigurationDUnitTest {
 
     int locatorPort = locator.getPort();
 
-    ClientVM client = csRule.startClientVM(2, clientVersion,
+    ClientVM client = csRule.startClientVM(2, clientVmConfiguration,
         c -> c.withCredential("data", "data").withLocatorConnection(locatorPort));
     client.invoke(() -> {
       ClientCache cache = ClusterStartupRule.getClientCache();
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityDUnitTest.java b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityDUnitTest.java
index 9da4d7f8ed..a5e53bac0a 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityDUnitTest.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityDUnitTest.java
@@ -51,7 +51,8 @@ import org.apache.geode.test.dunit.rules.MemberVM;
 import org.apache.geode.test.junit.categories.SecurityTest;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
 import org.apache.geode.test.version.TestVersion;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 /**
  * Tests for authorization from client to server for data puts and gets. For similar test in the
@@ -87,11 +88,11 @@ public class ClientDataAuthorizationUsingLegacySecurityDUnitTest {
 
   // Using a client of every version...
   @Parameterized.Parameter
-  public String clientVersion;
+  public VmConfiguration clientVmConfiguration;
 
-  @Parameterized.Parameters(name = "clientVersion={0}")
-  public static Collection<String> data() {
-    return VersionManager.getInstance().getVersions();
+  @Parameterized.Parameters(name = "Client {0}")
+  public static Collection<VmConfiguration> data() {
+    return VmConfigurations.all();
   }
 
   @Before
@@ -99,7 +100,7 @@ public class ClientDataAuthorizationUsingLegacySecurityDUnitTest {
     // We want the cluster VMs to be super-users for ease of testing / remote invocation.
     Properties clusterMemberProperties = getVMPropertiesWithPermission("cluster,data");
 
-    if (TestVersion.compare(clientVersion, "1.4.0") >= 0) {
+    if (shouldSetObjectFilterProperty(clientVmConfiguration)) {
       clusterMemberProperties.setProperty(ConfigurationProperties.SERIALIZABLE_OBJECT_FILTER,
           "org.apache.geode.security.templates.UsernamePrincipal");
     }
@@ -119,7 +120,7 @@ public class ClientDataAuthorizationUsingLegacySecurityDUnitTest {
     Properties props = getVMPropertiesWithPermission("dataWrite");
     int locatorPort = locator.getPort();
 
-    ClientVM clientVM = csRule.startClientVM(2, clientVersion, props, cf -> cf
+    ClientVM clientVM = csRule.startClientVM(2, clientVmConfiguration, props, cf -> cf
         .addPoolLocator("localhost", locatorPort));
 
     // Client adds data
@@ -145,14 +146,14 @@ public class ClientDataAuthorizationUsingLegacySecurityDUnitTest {
   @Test
   public void dataWriteCannotGet() throws Exception {
     Properties props = getVMPropertiesWithPermission("dataWrite");
-    if (TestVersion.compare(clientVersion, "1.4.0") >= 0) {
+    if (shouldSetObjectFilterProperty(clientVmConfiguration)) {
       props.setProperty(ConfigurationProperties.SERIALIZABLE_OBJECT_FILTER,
           "org.apache.geode.security.templates.UsernamePrincipal");
     }
     int locatorPort = locator.getPort();
 
-    ClientVM client = csRule.startClientVM(2, clientVersion, props, cf -> cf
-        .addPoolLocator("localhost", locatorPort));
+    ClientVM client = csRule.startClientVM(2, clientVmConfiguration, props,
+        cf -> cf.addPoolLocator("localhost", locatorPort));
 
     // Client cannot get through any avenue
     client.invoke(() -> {
@@ -177,8 +178,8 @@ public class ClientDataAuthorizationUsingLegacySecurityDUnitTest {
     Properties props = getVMPropertiesWithPermission("dataRead");
     int locatorPort = locator.getPort();
 
-    ClientVM client = csRule.startClientVM(2, clientVersion, props, cf -> cf
-        .addPoolLocator("localhost", locatorPort));
+    ClientVM client = csRule.startClientVM(2, clientVmConfiguration, props,
+        cf -> cf.addPoolLocator("localhost", locatorPort));
 
     // Add some values for the client to get
     server.invoke(() -> {
@@ -205,15 +206,15 @@ public class ClientDataAuthorizationUsingLegacySecurityDUnitTest {
   @Test
   public void dataReadCannotPut() throws Exception {
     Properties props = getVMPropertiesWithPermission("dataRead");
-    if (TestVersion.compare(clientVersion, "1.4.0") >= 0) {
+    if (shouldSetObjectFilterProperty(clientVmConfiguration)) {
       props.setProperty(ConfigurationProperties.SERIALIZABLE_OBJECT_FILTER,
           "org.apache.geode.security.templates.UsernamePrincipal");
     }
 
     int locatorPort = locator.getPort();
 
-    ClientVM clientVM = csRule.startClientVM(2, clientVersion, props, cf -> cf
-        .addPoolLocator("localhost", locatorPort));
+    ClientVM clientVM = csRule.startClientVM(2, clientVmConfiguration, props,
+        cf -> cf.addPoolLocator("localhost", locatorPort));
 
     clientVM.invoke(() -> {
       ClientCache cache = ClusterStartupRule.getClientCache();
@@ -253,12 +254,16 @@ public class ClientDataAuthorizationUsingLegacySecurityDUnitTest {
     props.setProperty(SECURITY_CLIENT_AUTH_INIT,
         UserPasswordAuthInit.class.getCanonicalName() + ".create");
 
-    // We can't sent the object filter property versions before 1.4.0 because
-    // it's not a valid property, but we must set it in 140 and above to allow
-    // serialization of UsernamePrincipal
-    if (clientVersion.compareTo("1.4.0") >= 0) {
+    if (shouldSetObjectFilterProperty(clientVmConfiguration)) {
       props.setProperty(SERIALIZABLE_OBJECT_FILTER, UsernamePrincipal.class.getCanonicalName());
     }
     return props;
   }
+
+  private boolean shouldSetObjectFilterProperty(VmConfiguration config) {
+    // We can't set the object filter property versions before 1.4.0 because
+    // it's not a valid property, but we must set it in 140 and above to allow
+    // serialization of UsernamePrincipal
+    return config.geodeVersion().greaterThanOrEqualTo(TestVersion.valueOf("1.4.0"));
+  }
 }
diff --git a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest.java b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest.java
index 8085feefbb..f6a878f9fb 100644
--- a/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest.java
+++ b/geode-core/src/upgradeTest/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest.java
@@ -58,7 +58,8 @@ import org.apache.geode.test.dunit.rules.MemberVM;
 import org.apache.geode.test.junit.categories.SecurityTest;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
 import org.apache.geode.test.version.TestVersion;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 /**
  * This test class reproduces the tests present in
@@ -122,17 +123,17 @@ public class ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest {
 
   // Test against every client version
   @Parameterized.Parameter
-  public String clientVersion;
+  public VmConfiguration clientVmConfiguration;
 
-  @Parameterized.Parameters(name = "clientVersion={0}")
-  public static Collection<String> data() {
-    return VersionManager.getInstance().getVersions();
+  @Parameterized.Parameters(name = "Client {0}")
+  public static Collection<VmConfiguration> data() {
+    return VmConfigurations.upgrades();
   }
 
   @Before
   public void setup() throws Exception {
     Properties clusterMemberProperties = getVMPropertiesWithPermission("cluster,data");
-    if (TestVersion.compare(clientVersion, "1.4.0") >= 0) {
+    if (shouldSetObjectFilterProperty(clientVmConfiguration)) {
       clusterMemberProperties.setProperty(ConfigurationProperties.SERIALIZABLE_OBJECT_FILTER,
           "org.apache.geode.security.templates.UsernamePrincipal");
     }
@@ -317,7 +318,7 @@ public class ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest {
   @Test
   public void dataWriterCannotRegisterInterestAcrossFailover() throws Exception {
     Properties props = getVMPropertiesWithPermission("dataWrite");
-    if (TestVersion.compare(clientVersion, "1.4.0") >= 0) {
+    if (shouldSetObjectFilterProperty(clientVmConfiguration)) {
       props.setProperty(ConfigurationProperties.SERIALIZABLE_OBJECT_FILTER,
           "org.apache.geode.security.templates.UsernamePrincipal");
     }
@@ -325,9 +326,11 @@ public class ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest {
     int server1Port = server1.getPort();
     int server2Port = server2.getPort();
 
-    ClientVM client1 = csRule.startClientVM(3, clientVersion, props, cf -> cf
-        .addPoolServer("localhost", server1Port).addPoolServer("localhost", server2Port)
-        .setPoolSubscriptionEnabled(true).setPoolSubscriptionRedundancy(2));
+    ClientVM client1 = csRule.startClientVM(3, clientVmConfiguration, props,
+        cf -> cf.addPoolServer("localhost", server1Port)
+            .addPoolServer("localhost", server2Port)
+            .setPoolSubscriptionEnabled(true)
+            .setPoolSubscriptionRedundancy(2));
 
     // Initialize cache
     client1.invoke(() -> {
@@ -377,14 +380,16 @@ public class ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest {
 
     Properties props = getVMPropertiesWithPermission(withPermission);
 
-    if (TestVersion.compare(clientVersion, "1.4.0") >= 0) {
+    if (shouldSetObjectFilterProperty(clientVmConfiguration)) {
       props.setProperty(ConfigurationProperties.SERIALIZABLE_OBJECT_FILTER,
           "org.apache.geode.security.templates.UsernamePrincipal");
     }
 
-    ClientVM client = csRule.startClientVM(3, clientVersion, props, cf -> cf
-        .addPoolServer("localhost", server1Port).addPoolServer("localhost", server2Port)
-        .setPoolSubscriptionEnabled(true).setPoolSubscriptionRedundancy(2));
+    ClientVM client = csRule.startClientVM(3, clientVmConfiguration, props,
+        cf -> cf.addPoolServer("localhost", server1Port)
+            .addPoolServer("localhost", server2Port)
+            .setPoolSubscriptionEnabled(true)
+            .setPoolSubscriptionRedundancy(2));
 
     // Initialize cache
     client.invoke(() -> {
@@ -397,6 +402,13 @@ public class ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest {
     return client;
   }
 
+  private boolean shouldSetObjectFilterProperty(VmConfiguration configuration) {
+    // We can't set the object filter property versions before 1.4.0 because
+    // it's not a valid property, but we must set it in 140 and above to allow
+    // serialization of UsernamePrincipal
+    return configuration.geodeVersion().greaterThanOrEqualTo(TestVersion.valueOf("1.4.0"));
+  }
+
   private MemberVM determinePrimaryServer(ClientVM client) {
     int primaryPort = getPrimaryServerPort(client);
     return (primaryPort == server1.getPort()) ? server1 : server2;
@@ -423,10 +435,7 @@ public class ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest {
     props.setProperty(UserPasswordAuthInit.PASSWORD, permission);
     props.setProperty(SECURITY_CLIENT_AUTH_INIT,
         UserPasswordAuthInit.class.getCanonicalName() + ".create");
-    // We can't sent the object filter property versions before 1.4.0 because
-    // it's not a valid property, but we must set it in 140 and above to allow
-    // serialization of UsernamePrincipal
-    if (clientVersion.compareTo("1.4.0") >= 0) {
+    if (shouldSetObjectFilterProperty(clientVmConfiguration)) {
       props.setProperty(SERIALIZABLE_OBJECT_FILTER, UsernamePrincipal.class.getCanonicalName());
     }
     return props;
diff --git a/geode-cq/src/upgradeTest/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscBCDUnitTest.java b/geode-cq/src/upgradeTest/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscBCDUnitTest.java
index e7674b1974..592d1fe966 100755
--- a/geode-cq/src/upgradeTest/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscBCDUnitTest.java
+++ b/geode-cq/src/upgradeTest/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscBCDUnitTest.java
@@ -60,25 +60,25 @@ import org.apache.geode.test.junit.categories.BackwardCompatibilityTest;
 import org.apache.geode.test.junit.categories.ClientServerTest;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 @Category({ClientServerTest.class, BackwardCompatibilityTest.class})
 @RunWith(Parameterized.class)
 @Parameterized.UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)
 public class ClientServerMiscBCDUnitTest extends ClientServerMiscDUnitTestBase {
   @Parameterized.Parameters
-  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");
-    } else {
-      System.out.println("running against these versions: " + result);
-    }
-    return result;
+  public static Collection<VmConfiguration> data() {
+    List<VmConfiguration> upgradeConfigurations = VmConfigurations.upgrades();
+    assertThat(upgradeConfigurations)
+        .as("configurations to upgrade from")
+        .isNotEmpty();
+    System.out.println("upgrading from configurations: " + upgradeConfigurations);
+    return upgradeConfigurations;
   }
 
-  public ClientServerMiscBCDUnitTest(String version) {
-    super();
-    testVersion = version;
+  public ClientServerMiscBCDUnitTest(VmConfiguration clientVmConfiguration) {
+    super(clientVmConfiguration);
   }
 
   @Override
@@ -100,7 +100,7 @@ public class ClientServerMiscBCDUnitTest extends ClientServerMiscDUnitTestBase {
   @Test
   public void testClientProtocolVersion() {
     int serverPort = initServerCache(true);
-    VM client1 = Host.getHost(0).getVM(testVersion, 1);
+    VM client1 = Host.getHost(0).getVM(clientVmConfiguration, 1);
     String hostname = NetworkUtils.getServerHostName();
     short ordinal = client1.invoke("create client1 cache", () -> {
       createClientCache(hostname, serverPort);
@@ -134,8 +134,8 @@ public class ClientServerMiscBCDUnitTest extends ClientServerMiscDUnitTestBase {
   public void testSubscriptionWithCurrentServerAndOldClients() throws Exception {
     // start server first
     int serverPort = initServerCache(true);
-    VM client1 = Host.getHost(0).getVM(testVersion, 1);
-    VM client2 = Host.getHost(0).getVM(testVersion, 3);
+    VM client1 = Host.getHost(0).getVM(clientVmConfiguration, 1);
+    VM client2 = Host.getHost(0).getVM(clientVmConfiguration, 3);
     String hostname = NetworkUtils.getServerHostName(Host.getHost(0));
     client1.invoke("create client1 cache", () -> {
       createClientCache(hostname, serverPort);
@@ -165,26 +165,26 @@ public class ClientServerMiscBCDUnitTest extends ClientServerMiscDUnitTestBase {
 
   @Test
   public void testSubscriptionWithMixedServersAndNewPeerFeed() throws Exception {
-    doTestSubscriptionWithMixedServersAndPeerFeed(VersionManager.CURRENT_VERSION, true);
+    doTestSubscriptionWithMixedServersAndPeerFeed(VmConfiguration.current(), true);
   }
 
   @Test
   public void testSubscriptionWithMixedServersAndOldPeerFeed() throws Exception {
-    doTestSubscriptionWithMixedServersAndPeerFeed(testVersion, true);
+    doTestSubscriptionWithMixedServersAndPeerFeed(clientVmConfiguration, true);
   }
 
   @Test
   public void testSubscriptionWithMixedServersAndOldClientFeed() throws Exception {
-    doTestSubscriptionWithMixedServersAndPeerFeed(testVersion, false);
+    doTestSubscriptionWithMixedServersAndPeerFeed(clientVmConfiguration, false);
   }
 
-  private void doTestSubscriptionWithMixedServersAndPeerFeed(String version,
+  private void doTestSubscriptionWithMixedServersAndPeerFeed(VmConfiguration feederVmConfiguration,
       boolean usePeerForFeed) {
-    server1 = Host.getHost(0).getVM(testVersion, 2);
+    server1 = Host.getHost(0).getVM(clientVmConfiguration, 2);
     server2 = Host.getHost(0).getVM(VersionManager.CURRENT_VERSION, 3);
     VM server3 = Host.getHost(0).getVM(VersionManager.CURRENT_VERSION, 4);
-    VM interestClient = Host.getHost(0).getVM(testVersion, 0);
-    VM feeder = Host.getHost(0).getVM(version, 1);
+    VM interestClient = Host.getHost(0).getVM(clientVmConfiguration, 0);
+    VM feeder = Host.getHost(0).getVM(feederVmConfiguration, 1);
 
     // start servers first
     int server1Port = initServerCache(true);
@@ -270,23 +270,23 @@ public class ClientServerMiscBCDUnitTest extends ClientServerMiscDUnitTestBase {
 
   @Test
   public void giiEventQueueFromOldToCurrentMemberShouldSucceed() {
-    giiEventQueueShouldSucceedWithMixedVersions(testVersion, VersionManager.CURRENT_VERSION);
+    giiEventQueueShouldSucceedWithMixedVersions(clientVmConfiguration, VmConfiguration.current());
   }
 
   @Test
   public void giiEventQueueFromCurrentToOldMemberShouldSucceed() {
     final IgnoredException expectedEx =
         IgnoredException.addIgnoredException(ConnectException.class.getName());
-    giiEventQueueShouldSucceedWithMixedVersions(VersionManager.CURRENT_VERSION, testVersion);
+    giiEventQueueShouldSucceedWithMixedVersions(VmConfiguration.current(), clientVmConfiguration);
     expectedEx.remove();
   }
 
-  public void giiEventQueueShouldSucceedWithMixedVersions(String server1Version,
-      String server2Version) {
-    VM interestClient = Host.getHost(0).getVM(testVersion, 0);
+  public void giiEventQueueShouldSucceedWithMixedVersions(VmConfiguration server1VmConfiguration,
+      VmConfiguration server2VmConfiguration) {
+    VM interestClient = Host.getHost(0).getVM(clientVmConfiguration, 0);
     VM feeder = Host.getHost(0).getVM(VersionManager.CURRENT_VERSION, 1);
-    server1 = Host.getHost(0).getVM(server1Version, 2);
-    server2 = Host.getHost(0).getVM(server2Version, 3);
+    server1 = Host.getHost(0).getVM(server1VmConfiguration, 2);
+    server2 = Host.getHost(0).getVM(server2VmConfiguration, 3);
 
     // start servers first
     int server1Port = initServerCache(true, server1, true);
@@ -360,7 +360,7 @@ public class ClientServerMiscBCDUnitTest extends ClientServerMiscDUnitTestBase {
     int serverPort = initServerCache(true);
 
     // Start old version client and do puts
-    VM client = Host.getHost(0).getVM(testVersion, 1);
+    VM client = Host.getHost(0).getVM(clientVmConfiguration, 1);
     String hostname = NetworkUtils.getServerHostName(Host.getHost(0));
     client.invoke("create client cache", () -> {
       createClientCache(hostname, serverPort);
diff --git a/geode-cq/src/upgradeTest/java/org/apache/geode/security/ClientAuthorizationCQDUnitTest.java b/geode-cq/src/upgradeTest/java/org/apache/geode/security/ClientAuthorizationCQDUnitTest.java
index 543152eaa5..cb5b982cdc 100644
--- a/geode-cq/src/upgradeTest/java/org/apache/geode/security/ClientAuthorizationCQDUnitTest.java
+++ b/geode-cq/src/upgradeTest/java/org/apache/geode/security/ClientAuthorizationCQDUnitTest.java
@@ -16,6 +16,7 @@ package org.apache.geode.security;
 
 import static org.apache.geode.security.SecurityTestUtils.closeCache;
 import static org.apache.geode.test.dunit.IgnoredException.addIgnoredException;
+import static org.assertj.core.api.Assertions.assertThat;
 
 import java.util.Collection;
 import java.util.List;
@@ -28,7 +29,8 @@ import org.junit.runners.Parameterized;
 import org.apache.geode.cache.operations.OperationContext.OperationCode;
 import org.apache.geode.test.junit.categories.SecurityTest;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 /**
  * Tests for authorization from client to server. This tests for authorization of all operations
@@ -44,20 +46,18 @@ import org.apache.geode.test.version.VersionManager;
 @RunWith(Parameterized.class)
 @Parameterized.UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)
 public class ClientAuthorizationCQDUnitTest extends ClientAuthorizationTestCase {
-  @Parameterized.Parameters(name = "from_v{0}")
-  public static Collection<String> data() {
-    List<String> result = VersionManager.getInstance().getVersions();
-    if (result.size() < 1) {
-      throw new RuntimeException("No older versions of Geode were found to test against");
-    } else {
-      System.out.println("running against these versions: " + result);
-    }
-    return result;
+  @Parameterized.Parameters(name = "From {0}")
+  public static Collection<VmConfiguration> data() {
+    List<VmConfiguration> configurations = VmConfigurations.upgrades();
+    assertThat(configurations)
+        .as("configurations to upgrade from")
+        .isNotEmpty();
+    System.out.println("upgrading from configurations: " + configurations);
+    return configurations;
   }
 
-  public ClientAuthorizationCQDUnitTest(String version) {
-    super();
-    clientVersion = version;
+  public ClientAuthorizationCQDUnitTest(VmConfiguration clientVmConfiguration) {
+    super(clientVmConfiguration);
   }
 
   @Override
diff --git a/geode-dunit/src/distributedTest/java/org/apache/geode/test/dunit/tests/GetDefaultDiskStoreNameDistributedTest.java b/geode-dunit/src/distributedTest/java/org/apache/geode/test/dunit/tests/GetDefaultDiskStoreNameDistributedTest.java
index c7751fbcb1..a25276d87a 100755
--- a/geode-dunit/src/distributedTest/java/org/apache/geode/test/dunit/tests/GetDefaultDiskStoreNameDistributedTest.java
+++ b/geode-dunit/src/distributedTest/java/org/apache/geode/test/dunit/tests/GetDefaultDiskStoreNameDistributedTest.java
@@ -56,8 +56,7 @@ public class GetDefaultDiskStoreNameDistributedTest extends DistributedTestCase
 
   private String createDefaultDiskStoreName(final int hostIndex, final int vmIndex,
       final String methodName) {
-    return "DiskStore-" + hostIndex + "-" + vmIndex + "-" + getClass().getCanonicalName() + "."
-        + methodName;
+    return "DiskStore-" + hostIndex + '-' + vmIndex + '-' + methodName;
   }
 
   private String getDefaultDiskStoreName() {
diff --git a/geode-dunit/src/main/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscDUnitTestBase.java b/geode-dunit/src/main/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscDUnitTestBase.java
index ce13f1a025..48793b1479 100755
--- a/geode-dunit/src/main/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscDUnitTestBase.java
+++ b/geode-dunit/src/main/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscDUnitTestBase.java
@@ -92,6 +92,7 @@ import org.apache.geode.test.dunit.cache.internal.JUnit4CacheTestCase;
 import org.apache.geode.test.dunit.internal.DUnitLauncher;
 import org.apache.geode.test.junit.categories.ClientServerTest;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
 import org.apache.geode.util.internal.GeodeGlossary;
 
 /**
@@ -138,11 +139,15 @@ public class ClientServerMiscDUnitTestBase extends JUnit4CacheTestCase {
   private final int putRange_2End = 10;
 
 
-  String testVersion; // version for client caches for backward-compatibility
-                      // testing
+  // configuration for client caches for backward-compatibility testing
+  final VmConfiguration clientVmConfiguration;
 
   public ClientServerMiscDUnitTestBase() {
-    testVersion = VersionManager.CURRENT_VERSION;
+    this(VmConfiguration.current());
+  }
+
+  public ClientServerMiscDUnitTestBase(VmConfiguration clientVmConfiguration) {
+    this.clientVmConfiguration = clientVmConfiguration;
   }
 
   @Override
@@ -178,15 +183,15 @@ public class ClientServerMiscDUnitTestBase extends JUnit4CacheTestCase {
     int port1 = initServerCache(true); // vm0
     int port2 = initServerCache2(); // vm1
     String serverName = NetworkUtils.getServerHostName();
-    host.getVM(testVersion, 0).invoke(() -> createClientCacheV(serverName, port1));
-    host.getVM(testVersion, 1).invoke(() -> createClientCacheV(serverName, port2));
+    host.getVM(clientVmConfiguration, 0).invoke(() -> createClientCacheV(serverName, port1));
+    host.getVM(clientVmConfiguration, 1).invoke(() -> createClientCacheV(serverName, port2));
     LogService.getLogger()
         .info("Testing concurrent map operations from a client with a distributed region");
-    concurrentMapTest(host.getVM(testVersion, 0), SEPARATOR + REGION_NAME1);
+    concurrentMapTest(host.getVM(clientVmConfiguration, 0), SEPARATOR + REGION_NAME1);
     // TODO add verification in vm1
     LogService.getLogger()
         .info("Testing concurrent map operations from a client with a partitioned region");
-    concurrentMapTest(host.getVM(testVersion, 0), SEPARATOR + PR_REGION_NAME);
+    concurrentMapTest(host.getVM(clientVmConfiguration, 0), SEPARATOR + PR_REGION_NAME);
     // TODO add verification in vm1
   }
 
@@ -197,7 +202,7 @@ public class ClientServerMiscDUnitTestBase extends JUnit4CacheTestCase {
    */
   @Test
   public void testClientReceivesPingIntervalSetting() {
-    VM clientVM = Host.getHost(0).getVM(testVersion, 0);
+    VM clientVM = Host.getHost(0).getVM(clientVmConfiguration, 0);
 
     final int port = initServerCache(true);
     final String host = NetworkUtils.getServerHostName();
@@ -242,15 +247,15 @@ public class ClientServerMiscDUnitTestBase extends JUnit4CacheTestCase {
     int port1 = initServerCache(true); // vm0
     int port2 = initServerCache2(); // vm1
     String serverName = NetworkUtils.getServerHostName();
-    host.getVM(testVersion, 0).invoke(() -> createEmptyClientCache(serverName, port1));
-    host.getVM(testVersion, 1).invoke(() -> createClientCacheV(serverName, port2));
+    host.getVM(clientVmConfiguration, 0).invoke(() -> createEmptyClientCache(serverName, port1));
+    host.getVM(clientVmConfiguration, 1).invoke(() -> createClientCacheV(serverName, port2));
     LogService.getLogger()
         .info("Testing concurrent map operations from a client with a distributed region");
-    concurrentMapTest(host.getVM(testVersion, 0), SEPARATOR + REGION_NAME1);
+    concurrentMapTest(host.getVM(clientVmConfiguration, 0), SEPARATOR + REGION_NAME1);
     // TODO add verification in vm1
     LogService.getLogger()
         .info("Testing concurrent map operations from a client with a partitioned region");
-    concurrentMapTest(host.getVM(testVersion, 0), SEPARATOR + PR_REGION_NAME);
+    concurrentMapTest(host.getVM(clientVmConfiguration, 0), SEPARATOR + PR_REGION_NAME);
     // TODO add verification in vm1
   }
 
@@ -462,7 +467,7 @@ public class ClientServerMiscDUnitTestBase extends JUnit4CacheTestCase {
     // start server first
     PORT1 = initServerCache(true);
     int serverPort = PORT1;
-    VM client1 = Host.getHost(0).getVM(testVersion, 1);
+    VM client1 = Host.getHost(0).getVM(clientVmConfiguration, 1);
     String hostname = NetworkUtils.getServerHostName();
     client1.invoke("create client1 cache", () -> {
       createClientCache(hostname, serverPort);
diff --git a/geode-dunit/src/main/java/org/apache/geode/security/ClientAuthorizationTestCase.java b/geode-dunit/src/main/java/org/apache/geode/security/ClientAuthorizationTestCase.java
index e3f3c283ef..cb07f09e79 100644
--- a/geode-dunit/src/main/java/org/apache/geode/security/ClientAuthorizationTestCase.java
+++ b/geode-dunit/src/main/java/org/apache/geode/security/ClientAuthorizationTestCase.java
@@ -90,6 +90,7 @@ import org.apache.geode.test.dunit.internal.JUnit4DistributedTestCase;
 import org.apache.geode.test.dunit.rules.ClusterStartupRule;
 import org.apache.geode.test.dunit.rules.DistributedRule;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
 
 /**
  * Base class for tests for authorization from client to server. It contains utility functions for
@@ -110,7 +111,7 @@ public abstract class ClientAuthorizationTestCase extends JUnit4DistributedTestC
   protected static VM client1 = null;
   protected static VM client2 = null;
 
-  public String clientVersion = VersionManager.CURRENT_VERSION;
+  public final VmConfiguration clientVmConfiguration;
 
   protected static final String regionName = REGION_NAME; // TODO: remove
   protected static final String SUBREGION_NAME = "AuthSubregion";
@@ -125,6 +126,14 @@ public abstract class ClientAuthorizationTestCase extends JUnit4DistributedTestC
       {AuthenticationFailedException.class.getName(), NotAuthorizedException.class.getName(),
           RegionDestroyedException.class.getName()};
 
+  public ClientAuthorizationTestCase() {
+    this(VmConfiguration.current());
+  }
+
+  protected ClientAuthorizationTestCase(VmConfiguration clientVmConfiguration) {
+    this.clientVmConfiguration = clientVmConfiguration;
+  }
+
   @Override
   public final void preSetUp() throws Exception {}
 
@@ -141,13 +150,8 @@ public abstract class ClientAuthorizationTestCase extends JUnit4DistributedTestC
     server2 = host.getVM(VersionManager.CURRENT_VERSION, 1);
     server1.invoke(() -> ServerConnection.allowInternalMessagesWithoutCredentials = false);
     server2.invoke(() -> ServerConnection.allowInternalMessagesWithoutCredentials = false);
-    if (VersionManager.isCurrentVersion(clientVersion)) {
-      client1 = host.getVM(VersionManager.CURRENT_VERSION, 2);
-      client2 = host.getVM(VersionManager.CURRENT_VERSION, 3);
-    } else {
-      client1 = host.getVM(clientVersion, 2);
-      client2 = host.getVM(clientVersion, 3);
-    }
+    client1 = host.getVM(clientVmConfiguration, 2);
+    client2 = host.getVM(clientVmConfiguration, 3);
     setUpIgnoredExceptions();
   }
 
diff --git a/geode-dunit/src/main/java/org/apache/geode/test/dunit/Host.java b/geode-dunit/src/main/java/org/apache/geode/test/dunit/Host.java
index 6514ac3b07..cb17295d31 100755
--- a/geode-dunit/src/main/java/org/apache/geode/test/dunit/Host.java
+++ b/geode-dunit/src/main/java/org/apache/geode/test/dunit/Host.java
@@ -14,6 +14,7 @@
  */
 package org.apache.geode.test.dunit;
 
+
 import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
@@ -22,7 +23,7 @@ import org.apache.geode.test.dunit.internal.ChildVMLauncher;
 import org.apache.geode.test.dunit.internal.ProcessHolder;
 import org.apache.geode.test.dunit.internal.RemoteDUnitVMIF;
 import org.apache.geode.test.dunit.internal.VMEventNotifier;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
 
 /**
  * This class represents a host on which a remote method may be invoked. It provides access to the
@@ -35,16 +36,21 @@ import org.apache.geode.test.version.VersionManager;
  */
 @SuppressWarnings("serial")
 public abstract class Host implements Serializable {
-
-  /** The available hosts */
+  /**
+   * The available hosts
+   */
   private static final List<Host> hosts = new ArrayList<>();
 
   private static VM locator;
 
-  /** The name of this host machine */
+  /**
+   * The name of this host machine
+   */
   private final String hostName;
 
-  /** The VMs that run on this host */
+  /**
+   * The VMs that run on this host
+   */
   private final List<VM> vms;
 
   private final transient VMEventNotifier vmEventNotifier;
@@ -68,7 +74,6 @@ public abstract class Host implements Serializable {
    *
    * @param whichHost A zero-based identifier of the host
    * @return the Host
-   *
    * @throws IllegalArgumentException {@code n} is more than the number of hosts
    */
   public static Host getHost(int whichHost) {
@@ -93,7 +98,7 @@ public abstract class Host implements Serializable {
       int numVMs = host.getVMCount();
       for (int i = 0; i < numVMs; i++) {
         try {
-          host.getVM(VersionManager.CURRENT_VERSION, i);
+          host.getVM(VmConfiguration.current(), i);
         } catch (UnsupportedOperationException e) {
           // not all implementations support versioning
         }
@@ -132,12 +137,18 @@ public abstract class Host implements Serializable {
     return vms.size();
   }
 
+  /*
+   * return a collection of all VMs
+   */
+  public List<VM> getAllVMs() {
+    return new ArrayList<>(vms);
+  }
+
   /**
    * Returns a VM that runs on this host
    *
    * @param n A zero-based identifier of the VM
    * @return a VM that runs on this host
-   *
    * @throws IllegalArgumentException {@code n} is more than the number of VMs
    * @deprecated use the static methods in VM instead
    */
@@ -155,28 +166,41 @@ public abstract class Host implements Serializable {
     }
   }
 
-  /*
-   * return a collection of all VMs
+  /**
+   * Returns the nth VM, ensuring that it is configured with the given geode version. Optional
+   * operation currently supported only in distributedTests.
+   *
+   * @param geodeVersion the desired geode version for the VM
+   * @param n the index the VM
+   * @return the specified VM, configured with the specified Geode version
+   * @deprecated use {@link VM#getVM(String, int)}
    */
-  public List<VM> getAllVMs() {
-    return new ArrayList<>(vms);
+  @Deprecated
+  public VM getVM(String geodeVersion, int n) {
+    throw new UnsupportedOperationException("Not supported in this implementation of Host");
   }
 
-  /*
-   * Returns the nth VM of the given version. Optional operation currently supported only in
-   * distributedTests.
+  /**
+   * Returns the nth VM, ensuring that it is configured with the given VM configuration. Optional
+   * operation currently supported only in distributedTests.
+   *
+   * @param configuration the desired configuration for the VM
+   * @param whichVM the index the VM
+   * @return the specified VM, configured with the specified configuration
+   * @deprecated use {@link VM#getVM(VmConfiguration, int)}
    */
-  public VM getVM(String version, int n) {
+  @Deprecated
+  public VM getVM(VmConfiguration configuration, int whichVM) {
     throw new UnsupportedOperationException("Not supported in this implementation of Host");
   }
 
   /*
    * Adds a VM to this Host with the given process id and client record.
    */
-  protected void addVM(int vmid, final String version, RemoteDUnitVMIF client,
+  protected void addVM(int vmid, VmConfiguration configuration, RemoteDUnitVMIF client,
       ProcessHolder processHolder,
       ChildVMLauncher childVMLauncher) {
-    VM vm = new VM(this, version, vmid, client, processHolder,
+    VM vm = new VM(this, configuration, vmid, client, processHolder,
         childVMLauncher);
     vms.add(vm);
     vmEventNotifier.notifyAfterCreateVM(vm);
@@ -192,8 +216,8 @@ public abstract class Host implements Serializable {
 
   protected void addLocator(int vmid, RemoteDUnitVMIF client, ProcessHolder processHolder,
       ChildVMLauncher childVMLauncher) {
-    setLocator(new VM(this, VersionManager.CURRENT_VERSION, vmid, client, processHolder,
-        childVMLauncher));
+    setLocator(
+        new VM(this, VmConfiguration.current(), vmid, client, processHolder, childVMLauncher));
   }
 
   @Override
diff --git a/geode-dunit/src/main/java/org/apache/geode/test/dunit/VM.java b/geode-dunit/src/main/java/org/apache/geode/test/dunit/VM.java
index c6cbd85f34..2526086b37 100644
--- a/geode-dunit/src/main/java/org/apache/geode/test/dunit/VM.java
+++ b/geode-dunit/src/main/java/org/apache/geode/test/dunit/VM.java
@@ -16,6 +16,7 @@ package org.apache.geode.test.dunit;
 
 import static org.apache.geode.test.dunit.internal.AsyncThreadId.nextId;
 import static org.apache.geode.test.dunit.internal.DUnitLauncher.NUM_VMS;
+import static org.apache.geode.test.version.VersionManager.isCurrentVersion;
 
 import java.io.File;
 import java.io.IOException;
@@ -45,6 +46,7 @@ import org.apache.geode.test.dunit.internal.RemoteDUnitVMIF;
 import org.apache.geode.test.dunit.internal.StandAloneDUnitEnv;
 import org.apache.geode.test.dunit.internal.VMEventNotifier;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
 
 /**
  * This class represents a Java Virtual Machine that runs in a DistributedTest.
@@ -65,8 +67,8 @@ public class VM implements Serializable {
   /** The sequential id of this VM */
   private final int id;
 
-  /** The version of Geode used in this VM */
-  private String version;
+  /** The configuration (Java version + Geode version) used in this VM */
+  private VmConfiguration configuration;
 
   /** The hydra client for this VM */
   private RemoteDUnitVMIF client;
@@ -124,12 +126,16 @@ public class VM implements Serializable {
   /**
    * Returns a VM running the specified Geode version in this DistributedTest.
    *
-   * @param version String specifying the Geode version
+   * @param geodeVersion String specifying the Geode version
    * @param whichVM A zero-based identifier of the VM
    * @return a VM running the specified Geode version in this DistributedTest
    */
-  public static VM getVM(String version, int whichVM) {
-    return Host.getHost(0).getVM(version, whichVM);
+  public static VM getVM(String geodeVersion, int whichVM) {
+    return getVM(VmConfiguration.forGeodeVersion(geodeVersion), whichVM);
+  }
+
+  public static VM getVM(VmConfiguration configuration, int whichVM) {
+    return Host.getHost(0).getVM(configuration, whichVM);
   }
 
   /*
@@ -174,7 +180,7 @@ public class VM implements Serializable {
     if (pid == -2) {
       return "locator";
     }
-    if (pid < 0 || VersionManager.isCurrentVersion(version)) {
+    if (pid < 0 || isCurrentVersion(version)) {
       return "vm" + pid;
     } else {
       return "vm" + pid + "_v" + version;
@@ -243,11 +249,12 @@ public class VM implements Serializable {
     return Host.getHost(0).getVMEventNotifier();
   }
 
-  public VM(final Host host, final String version, final int id, final RemoteDUnitVMIF client,
-      final ProcessHolder processHolder, final ChildVMLauncher childVMLauncher) {
+  public VM(final Host host, VmConfiguration configuration, final int id,
+      final RemoteDUnitVMIF client, final ProcessHolder processHolder,
+      final ChildVMLauncher childVMLauncher) {
     this.host = host;
     this.id = id;
-    this.version = version;
+    this.configuration = configuration;
     this.client = client;
     this.processHolder = processHolder;
     this.childVMLauncher = childVMLauncher;
@@ -255,6 +262,7 @@ public class VM implements Serializable {
   }
 
   /**
+   *
    * Returns the {@code Host} on which this {@code VM} is running.
    *
    * @return the {@code Host} on which this {@code VM} is running.
@@ -264,15 +272,20 @@ public class VM implements Serializable {
   }
 
   /**
-   * Returns the version of Geode used in this VM.
-   *
    * @return the version of Geode used in this VM
    *
    * @see VersionManager#CURRENT_VERSION
    * @see Host#getVM(String, int)
    */
   public String getVersion() {
-    return version;
+    return configuration.geodeVersion().toString();
+  }
+
+  /**
+   * @return the VM configuration used in this VM
+   */
+  public VmConfiguration getConfiguration() {
+    return configuration;
   }
 
   /**
@@ -579,8 +592,7 @@ public class VM implements Serializable {
    * @throws RMIException if an exception occurs while bouncing this {@code VM}
    */
   public VM bounce() {
-    bounce(version, false);
-    return this;
+    return bounce(configuration, false);
   }
 
   /**
@@ -598,19 +610,17 @@ public class VM implements Serializable {
    * @throws RMIException if an exception occurs while bouncing this {@code VM}
    */
   public VM bounceForcibly() {
-    bounce(version, true);
-    return this;
+    return bounce(configuration, true);
   }
 
   public VM bounce(final String targetVersion) {
-    bounce(targetVersion, false);
-    return this;
+    return bounce(VmConfiguration.forGeodeVersion(targetVersion), false);
   }
 
-  private synchronized void bounce(final String targetVersion, boolean force) {
+  public synchronized VM bounce(final VmConfiguration configuration, boolean force) {
     checkAvailability(getClass().getName(), "bounceVM");
 
-    logger.info("Bouncing {} old pid is {} and version is {}", id, getPid(), version);
+    logger.info("Bouncing {} old pid is {} and configuration is {}", id, getPid(), configuration);
     getVMEventNotifier().notifyBeforeBounceVM(this);
 
     available = false;
@@ -637,17 +647,19 @@ public class VM implements Serializable {
       // fixed ports. So when we bounce a VM, use an RMI port outside the usual range of ephemeral
       // ports for MacOS (49152–65535) and Linux (32768-60999).
       int remoteStubPort = AvailablePortHelper.getRandomAvailableTCPPort();
-      processHolder = childVMLauncher.launchVM(targetVersion, id, true, remoteStubPort);
-      version = targetVersion;
+      processHolder = childVMLauncher.launchVM(configuration, id, true, remoteStubPort);
+      this.configuration = configuration;
       client = childVMLauncher.getStub(id);
       available = true;
 
-      logger.info("Bounced {}.  New pid is {} and version is {}", id, getPid(), version);
+      logger.info("Bounced {}.  New pid is {} and configuration is {}", id, getPid(),
+          configuration);
       getVMEventNotifier().notifyAfterBounceVM(this);
 
     } catch (InterruptedException | IOException | NotBoundException e) {
       throw new Error("Unable to restart VM " + id, e);
     }
+    return this;
   }
 
   private void checkAvailability(String className, String methodName) {
@@ -663,8 +675,8 @@ public class VM implements Serializable {
 
   @Override
   public String toString() {
-    return "VM " + getId() + " running on " + getHost()
-        + (VersionManager.isCurrentVersion(version) ? "" : (" with version " + version));
+    return String.format("VM %d, Host %s, Geode %s, Java %s",
+        getId(), getHost(), configuration.geodeVersion(), configuration.javaVersion());
   }
 
   private <V> V executeMethodOnObject(final Object targetObject, final String methodName,
diff --git a/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/ChildVMLauncher.java b/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/ChildVMLauncher.java
index e2d5c4a85f..6adddfe4e9 100644
--- a/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/ChildVMLauncher.java
+++ b/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/ChildVMLauncher.java
@@ -18,10 +18,12 @@ import java.io.IOException;
 import java.rmi.NotBoundException;
 import java.rmi.RemoteException;
 
+import org.apache.geode.test.version.VmConfiguration;
+
 public interface ChildVMLauncher {
 
-  ProcessHolder launchVM(String version, int vmNum, boolean bouncedVM, int remoteStubPort)
-      throws IOException;
+  ProcessHolder launchVM(VmConfiguration configuration, int vmNum, boolean bouncedVM,
+      int remoteStubPort) throws IOException;
 
   RemoteDUnitVMIF getStub(int i) throws RemoteException, NotBoundException, InterruptedException;
 }
diff --git a/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/DUnitHost.java b/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/DUnitHost.java
index 911515caa3..21a2a0c512 100644
--- a/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/DUnitHost.java
+++ b/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/DUnitHost.java
@@ -21,6 +21,7 @@ import java.rmi.RemoteException;
 import org.apache.geode.test.dunit.Host;
 import org.apache.geode.test.dunit.VM;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
 
 class DUnitHost extends Host {
   private static final long serialVersionUID = -8034165624503666383L;
@@ -32,8 +33,7 @@ class DUnitHost extends Host {
   DUnitHost(String hostName, ProcessManager processManager, VMEventNotifier vmEventNotifier)
       throws RemoteException {
     super(hostName, vmEventNotifier);
-    debuggingVM = new VM(this, VersionManager.CURRENT_VERSION, -1, new RemoteDUnitVM(0), null,
-        null);
+    debuggingVM = new VM(this, VmConfiguration.current(), -1, new RemoteDUnitVM(0), null, null);
     this.processManager = processManager;
     this.vmEventNotifier = vmEventNotifier;
   }
@@ -43,7 +43,7 @@ class DUnitHost extends Host {
     for (int i = 0; i < numVMs; i++) {
       RemoteDUnitVMIF remote = processManager.getStub(i);
       ProcessHolder processHolder = processManager.getProcessHolder(i);
-      addVM(i, VersionManager.CURRENT_VERSION, remote, processHolder, processManager);
+      addVM(i, VmConfiguration.current(), remote, processHolder, processManager);
     }
 
     if (launchLocator) {
@@ -74,46 +74,51 @@ class DUnitHost extends Host {
   }
 
   @Override
-  public VM getVM(String version, int n) {
-    if (n == DUnitLauncher.DEBUGGING_VM_NUM) {
+  public VM getVM(String geodeVersion, int whichVM) {
+    return getVM(VmConfiguration.forGeodeVersion(geodeVersion), whichVM);
+  }
+
+  @Override
+  public VM getVM(VmConfiguration configuration, int whichVM) {
+    if (whichVM == DUnitLauncher.DEBUGGING_VM_NUM) {
       // for ease of debugging, pass -1 to get the local VM
       return debuggingVM;
     }
 
-    if (n < getVMCount()) {
-      VM current = super.getVM(n);
-      if (!current.getVersion().equals(version)) {
-        current.bounce(version);
+    if (whichVM < getVMCount()) {
+      VM current = super.getVM(whichVM);
+      if (!current.getConfiguration().equals(configuration)) {
+        current.bounce(configuration, false);
       }
       return current;
     }
 
     int oldVMCount = getVMCount();
-    if (n >= oldVMCount) {
+    if (whichVM >= oldVMCount) {
       // If we don't have a VM with that number, dynamically create it.
       try {
         // first fill in any gaps, to keep the superclass, Host, happy
-        for (int i = oldVMCount; i < n; i++) {
+        for (int i = oldVMCount; i < whichVM; i++) {
           processManager.launchVM(i);
         }
         processManager.waitForVMs(DUnitLauncher.STARTUP_TIMEOUT);
 
-        for (int i = oldVMCount; i < n; i++) {
-          addVM(i, VersionManager.CURRENT_VERSION, processManager.getStub(i),
+        for (int i = oldVMCount; i < whichVM; i++) {
+          addVM(i, VmConfiguration.current(), processManager.getStub(i),
               processManager.getProcessHolder(i), processManager);
         }
 
         // now create the one we really want
-        processManager.launchVM(version, n, false, 0);
+        processManager.launchVM(configuration, whichVM, false, 0);
         processManager.waitForVMs(DUnitLauncher.STARTUP_TIMEOUT);
-        addVM(n, version, processManager.getStub(n), processManager.getProcessHolder(n),
-            processManager);
+        addVM(whichVM, configuration, processManager.getStub(whichVM),
+            processManager.getProcessHolder(whichVM), processManager);
 
       } catch (IOException | InterruptedException | NotBoundException e) {
-        throw new RuntimeException("Could not dynamically launch vm + " + n, e);
+        throw new RuntimeException("Could not dynamically launch vm + " + whichVM, e);
       }
     }
 
-    return super.getVM(n);
+    return super.getVM(whichVM);
   }
 }
diff --git a/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/JUnit4DistributedTestCase.java b/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/JUnit4DistributedTestCase.java
index 627fa7d66c..91d33a6063 100644
--- a/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/JUnit4DistributedTestCase.java
+++ b/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/JUnit4DistributedTestCase.java
@@ -376,18 +376,17 @@ public abstract class JUnit4DistributedTestCase implements DistributedTestFixtur
    * Do not override this method.
    */
   private void doSetUpDistributedTestCase() {
-    final String className = getTestClass().getCanonicalName();
     final String methodName = getName();
 
     TestHistoryLogger.logTestHistory(getTestClass().getSimpleName(), methodName);
 
-    setUpVM(methodName, getDefaultDiskStoreName(0, -1, className, methodName));
+    setUpVM(methodName, getDefaultDiskStoreName(0, -1, methodName));
 
     for (int hostIndex = 0; hostIndex < Host.getHostCount(); hostIndex++) {
       Host host = Host.getHost(hostIndex);
       for (int vmIndex = 0; vmIndex < host.getVMCount(); vmIndex++) {
         final String vmDefaultDiskStoreName =
-            getDefaultDiskStoreName(hostIndex, vmIndex, className, methodName);
+            getDefaultDiskStoreName(hostIndex, vmIndex, methodName);
         host.getVM(vmIndex).invoke("setupVM", () -> setUpVM(methodName, vmDefaultDiskStoreName));
       }
     }
@@ -422,9 +421,8 @@ public abstract class JUnit4DistributedTestCase implements DistributedTestFixtur
   }
 
   private static String getDefaultDiskStoreName(final int hostIndex, final int vmIndex,
-      final String className, final String methodName) {
-    return "DiskStore-" + hostIndex + "-" + vmIndex + "-"
-        + className + "." + methodName; // used to be getDeclaringClass()
+      final String methodName) {
+    return "DiskStore-" + hostIndex + "-" + vmIndex + "-" + methodName;
   }
 
   private static void setUpVM(final String methodName, final String defaultDiskStoreName) {
diff --git a/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/ProcessManager.java b/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/ProcessManager.java
index 1bdd697165..ef3d387406 100755
--- a/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/ProcessManager.java
+++ b/geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/ProcessManager.java
@@ -52,6 +52,7 @@ import org.apache.geode.distributed.internal.InternalLocator;
 import org.apache.geode.internal.membership.utils.AvailablePort;
 import org.apache.geode.test.dunit.VM;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
 
 class ProcessManager implements ChildVMLauncher {
   private final int namingPort;
@@ -70,12 +71,12 @@ class ProcessManager implements ChildVMLauncher {
   }
 
   public synchronized void launchVM(int vmNum) throws IOException {
-    launchVM(VersionManager.CURRENT_VERSION, vmNum, false, 0);
+    launchVM(VmConfiguration.current(), vmNum, false, 0);
   }
 
   @Override
-  public synchronized ProcessHolder launchVM(String version, int vmNum, boolean bouncedVM,
-      int remoteStubPort) throws IOException {
+  public synchronized ProcessHolder launchVM(VmConfiguration vmConfiguration, int vmNum,
+      boolean bouncedVM, int remoteStubPort) throws IOException {
     if (bouncedVM) {
       processes.remove(vmNum);
     }
@@ -83,6 +84,7 @@ class ProcessManager implements ChildVMLauncher {
       throw new IllegalStateException("VM " + vmNum + " is already running.");
     }
 
+    String version = vmConfiguration.geodeVersion().toString();
     File workingDir = getVMDir(version, vmNum);
     if (!workingDir.exists()) {
       workingDir.mkdirs();
@@ -98,7 +100,7 @@ class ProcessManager implements ChildVMLauncher {
       workingDir.mkdirs();
     }
 
-    String[] cmd = buildJavaCommand(vmNum, namingPort, version, remoteStubPort);
+    String[] cmd = buildJavaCommand(vmNum, namingPort, vmConfiguration, remoteStubPort);
     System.out.println("Executing " + Arrays.toString(cmd));
 
     if (log4jConfig != null) {
@@ -236,23 +238,23 @@ class ProcessManager implements ChildVMLauncher {
     return classpath;
   }
 
-  private String[] buildJavaCommand(int vmNum, int namingPort, String version, int remoteStubPort)
+  private String[] buildJavaCommand(int vmNum, int namingPort, VmConfiguration configuration,
+      int remoteStubPort)
       throws IOException {
-    String cmd = System.getProperty("java.home") + File.separator
-        + "bin" + File.separator + "java";
+    Path javaCommand = configuration.javaVersion().home().resolve("bin").resolve("java");
     String classPath;
     String dunitClasspath = System.getProperty("java.class.path");
     String separator = File.separator;
-    if (VersionManager.isCurrentVersion(version)) {
+    String geodeVersion = configuration.geodeVersion().toString();
+    if (VersionManager.isCurrentVersion(geodeVersion)) {
       classPath = dunitClasspath;
     } else {
       // remove current-version product classes and resources from the classpath
       dunitClasspath =
-          dunitClasspath =
-              removeModulesFromPath(dunitClasspath, "geode-common", "geode-core", "geode-cq",
-                  "geode-http-service", "geode-json", "geode-log4j", "geode-lucene",
-                  "geode-serialization", "geode-wan", "geode-gfsh");
-      classPath = versionManager.getClasspath(version) + File.pathSeparator + dunitClasspath;
+          removeModulesFromPath(dunitClasspath, "geode-common", "geode-core", "geode-cq",
+              "geode-http-service", "geode-json", "geode-log4j", "geode-lucene",
+              "geode-serialization", "geode-wan", "geode-gfsh");
+      classPath = versionManager.getClasspath(geodeVersion) + File.pathSeparator + dunitClasspath;
     }
     String jreLib = separator + "jre" + separator + "lib" + separator;
     classPath = removeFromPath(classPath, jreLib);
@@ -268,14 +270,14 @@ class ProcessManager implements ChildVMLauncher {
 
     String jdkSuspend = vmNum == suspendVM ? "y" : "n"; // ignore version
     ArrayList<String> cmds = new ArrayList<>();
-    cmds.add(cmd);
+    cmds.add(javaCommand.toString());
     cmds.add("-classpath");
     // Set the classpath via a "pathing" jar to shorten cmd to a length allowed by Windows.
-    cmds.add(createPathingJar(getVMDir(version, vmNum).getName(), classPath).toString());
+    cmds.add(createPathingJar(getVMDir(geodeVersion, vmNum).getName(), classPath).toString());
     cmds.add("-D" + DUnitLauncher.REMOTE_STUB_PORT_PARAM + "=" + remoteStubPort);
     cmds.add("-D" + DUnitLauncher.RMI_PORT_PARAM + "=" + namingPort);
     cmds.add("-D" + DUnitLauncher.VM_NUM_PARAM + "=" + vmNum);
-    cmds.add("-D" + DUnitLauncher.VM_VERSION_PARAM + "=" + version);
+    cmds.add("-D" + DUnitLauncher.VM_VERSION_PARAM + "=" + geodeVersion);
     cmds.add("-D" + DUnitLauncher.WORKSPACE_DIR_PARAM + "=" + new File(".").getAbsolutePath());
     cmds.add("-DAvailablePort.lowerBound=" + AvailablePort.AVAILABLE_PORTS_LOWER_BOUND);
     cmds.add("-DAvailablePort.upperBound=" + AvailablePort.AVAILABLE_PORTS_UPPER_BOUND);
@@ -286,7 +288,8 @@ class ProcessManager implements ChildVMLauncher {
               membershipPortRange));
     }
     if (vmNum >= 0) { // let the locator print a banner
-      if (version.equals(VersionManager.CURRENT_VERSION)) { // enable the banner for older versions
+      if (geodeVersion.equals(
+          VersionManager.CURRENT_VERSION)) { // enable the banner for older versions
         cmds.add("-D" + InternalLocator.INHIBIT_DM_BANNER + "=true");
       }
     } else {
@@ -314,7 +317,9 @@ class ProcessManager implements ChildVMLauncher {
     cmds.add("-XX:MetaspaceSize=512m");
     cmds.add("-XX:SoftRefLRUPolicyMSPerMB=1");
     cmds.add(agent);
-    cmds.addAll(getJvmModuleOptions());
+    if (configuration.javaVersion().specificationVersion() >= 11) {
+      cmds.addAll(getJvmModuleOptions());
+    }
     cmds.add(ChildVM.class.getName());
     String[] rst = new String[cmds.size()];
     cmds.toArray(rst);
diff --git a/geode-dunit/src/main/java/org/apache/geode/test/dunit/rules/ClusterStartupRule.java b/geode-dunit/src/main/java/org/apache/geode/test/dunit/rules/ClusterStartupRule.java
index 69643b7990..1e09fb987e 100644
--- a/geode-dunit/src/main/java/org/apache/geode/test/dunit/rules/ClusterStartupRule.java
+++ b/geode-dunit/src/main/java/org/apache/geode/test/dunit/rules/ClusterStartupRule.java
@@ -18,7 +18,6 @@ package org.apache.geode.test.dunit.rules;
 import static org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast;
 import static org.apache.geode.distributed.ConfigurationProperties.GROUPS;
 import static org.apache.geode.internal.AvailablePortHelper.getRandomAvailableTCPPort;
-import static org.apache.geode.test.dunit.Host.getHost;
 import static org.apache.geode.test.dunit.internal.DUnitLauncher.NUM_VMS;
 import static org.apache.geode.test.dunit.internal.DUnitLauncher.closeAndCheckForSuspects;
 
@@ -55,6 +54,7 @@ import org.apache.geode.test.junit.rules.ServerStarterRule;
 import org.apache.geode.test.junit.rules.VMProvider;
 import org.apache.geode.test.junit.rules.serializable.SerializableTestRule;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
 
 /**
  * A rule to help you start locators and servers or clients inside of a
@@ -145,11 +145,11 @@ public class ClusterStartupRule implements SerializableTestRule {
   }
 
   private void before(Description description) throws Throwable {
+    DUnitLauncher.launchIfNeeded(vmCount, false);
     if (isJavaVersionAtLeast(JavaVersion.JAVA_11)) {
       // GEODE-6247: JDK 11 has an issue where native code is reporting committed is 2MB > max.
       IgnoredException.addIgnoredException("committed = 538968064 should be < max = 536870912");
     }
-    DUnitLauncher.launchIfNeeded(vmCount, false);
     restoreSystemProperties.beforeDistributedTest(description);
     occupiedVMs = new HashMap<>();
   }
@@ -210,8 +210,12 @@ public class ClusterStartupRule implements SerializableTestRule {
   }
 
   public MemberVM startLocatorVM(int index, String version) {
+    return startLocatorVM(index, VmConfiguration.forGeodeVersion(version));
+  }
+
+  public MemberVM startLocatorVM(int index, VmConfiguration vmConfiguration) {
     int port = getRandomAvailableTCPPort();
-    return startLocatorVM(index, port, version, x -> x);
+    return startLocatorVM(index, port, vmConfiguration, x -> x);
   }
 
   public MemberVM startLocatorVM(int index,
@@ -225,10 +229,16 @@ public class ClusterStartupRule implements SerializableTestRule {
     return startLocatorVM(index, 0, VersionManager.CURRENT_VERSION, ruleOperatorWithPort);
   }
 
-  public MemberVM startLocatorVM(int index, int port, String version,
+  public MemberVM startLocatorVM(int index, int port, String geodeVersion,
+      SerializableFunction<LocatorStarterRule> ruleOperator) {
+    return startLocatorVM(index, port, VmConfiguration.forGeodeVersion(geodeVersion),
+        ruleOperator);
+  }
+
+  public MemberVM startLocatorVM(int index, int port, VmConfiguration vmConfiguration,
       SerializableFunction<LocatorStarterRule> ruleOperator) {
     final String defaultName = "locator-" + index;
-    VM locatorVM = getVM(index, version);
+    VM locatorVM = getVM(index, vmConfiguration);
     LocatorStarterRule locatorStarter = new LocatorStarterRule();
     Locator server = locatorVM.invoke("start locator in vm" + index, () -> {
       memberStarter = locatorStarter;
@@ -268,10 +278,15 @@ public class ClusterStartupRule implements SerializableTestRule {
     return startServerVM(index, VersionManager.CURRENT_VERSION, ruleOperator);
   }
 
-  public MemberVM startServerVM(int index, String version,
+  public MemberVM startServerVM(int index, String geodeVersion,
+      SerializableFunction<ServerStarterRule> ruleOperator) {
+    return startServerVM(index, VmConfiguration.forGeodeVersion(geodeVersion), ruleOperator);
+  }
+
+  public MemberVM startServerVM(int index, VmConfiguration vmConfiguration,
       SerializableFunction<ServerStarterRule> ruleOperator) {
     final String defaultName = "server-" + index;
-    VM serverVM = getVM(index, version);
+    VM serverVM = getVM(index, vmConfiguration);
     ServerStarterRule serverStarter = new ServerStarterRule();
     Server server = serverVM.invoke("startServerVM", () -> {
       memberStarter = serverStarter;
@@ -292,7 +307,38 @@ public class ClusterStartupRule implements SerializableTestRule {
 
   public ClientVM startClientVM(int index, String clientVersion,
       SerializableConsumerIF<ClientCacheRule> clientCacheRuleSetUp) throws Exception {
-    VM client = getVM(index, clientVersion);
+    return startClientVM(index, VmConfiguration.forGeodeVersion(clientVersion),
+        clientCacheRuleSetUp);
+  }
+
+  public ClientVM startClientVM(int index,
+      SerializableConsumerIF<ClientCacheRule> clientCacheRuleSetUp) throws Exception {
+    return startClientVM(index, VersionManager.CURRENT_VERSION, clientCacheRuleSetUp);
+  }
+
+  public ClientVM startClientVM(int index, Properties properties,
+      SerializableConsumerIF<ClientCacheFactory> cacheFactorySetup) throws Exception {
+    return startClientVM(index,
+        c -> c.withProperties(properties).withCacheSetup(cacheFactorySetup));
+  }
+
+  public ClientVM startClientVM(int index, String clientVersion, Properties properties,
+      SerializableConsumerIF<ClientCacheFactory> cacheFactorySetup)
+      throws Exception {
+    return startClientVM(index, VmConfiguration.forGeodeVersion(clientVersion), properties,
+        cacheFactorySetup);
+  }
+
+  public ClientVM startClientVM(int index, VmConfiguration clientVmConfiguration,
+      Properties properties, SerializableConsumerIF<ClientCacheFactory> cacheFactorySetup)
+      throws Exception {
+    return startClientVM(index, clientVmConfiguration,
+        c -> c.withProperties(properties).withCacheSetup(cacheFactorySetup));
+  }
+
+  public ClientVM startClientVM(int index, VmConfiguration vmConfiguration,
+      SerializableConsumerIF<ClientCacheRule> clientCacheRuleSetUp) throws Exception {
+    VM client = getVM(index, vmConfiguration);
     Exception error = client.invoke(() -> {
       clientCacheRule = new ClientCacheRule();
       try {
@@ -311,25 +357,6 @@ public class ClusterStartupRule implements SerializableTestRule {
     return clientVM;
   }
 
-  public ClientVM startClientVM(int index,
-      SerializableConsumerIF<ClientCacheRule> clientCacheRuleSetUp) throws Exception {
-    return startClientVM(index, VersionManager.CURRENT_VERSION, clientCacheRuleSetUp);
-  }
-
-  public ClientVM startClientVM(int index, String clientVersion, Properties properties,
-      SerializableConsumerIF<ClientCacheFactory> cacheFactorySetup)
-      throws Exception {
-    return startClientVM(index, clientVersion,
-        c -> c.withProperties(properties).withCacheSetup(cacheFactorySetup));
-  }
-
-
-  public ClientVM startClientVM(int index, Properties properties,
-      SerializableConsumerIF<ClientCacheFactory> cacheFactorySetup) throws Exception {
-    return startClientVM(index,
-        c -> c.withProperties(properties).withCacheSetup(cacheFactorySetup));
-  }
-
   /**
    * Returns the {@link Member} running inside the VM with the specified {@code index}
    *
@@ -340,12 +367,12 @@ public class ClusterStartupRule implements SerializableTestRule {
     return (MemberVM) occupiedVMs.get(index);
   }
 
-  public VM getVM(int index, String version) {
-    return getHost(0).getVM(version, index);
+  public VM getVM(int index, VmConfiguration vmConfiguration) {
+    return VM.getVM(vmConfiguration, index);
   }
 
   public VM getVM(int index) {
-    return getHost(0).getVM(index);
+    return VM.getVM(index);
   }
 
   /**
diff --git a/geode-dunit/src/main/resources/org/apache/geode/test/dunit/internal/sanctioned-geode-dunit-serializables.txt b/geode-dunit/src/main/resources/org/apache/geode/test/dunit/internal/sanctioned-geode-dunit-serializables.txt
index c0c877f617..2b3646e550 100644
--- a/geode-dunit/src/main/resources/org/apache/geode/test/dunit/internal/sanctioned-geode-dunit-serializables.txt
+++ b/geode-dunit/src/main/resources/org/apache/geode/test/dunit/internal/sanctioned-geode-dunit-serializables.txt
@@ -105,7 +105,7 @@ org/apache/geode/cache30/RegionTestCase$7,false,this$0:org/apache/geode/cache30/
 org/apache/geode/cache30/RegionTestCase$8,false,this$0:org/apache/geode/cache30/RegionTestCase,val$name:java/lang/String
 org/apache/geode/cache30/RegionTestCase$9,false,this$0:org/apache/geode/cache30/RegionTestCase,val$name:java/lang/String
 org/apache/geode/internal/cache/tier/sockets/CacheServerTestUtil,false
-org/apache/geode/internal/cache/tier/sockets/ClientServerMiscDUnitTestBase,false,props:java/util/Properties,putRange_1End:int,putRange_1Start:int,putRange_2End:int,putRange_2Start:int,testVersion:java/lang/String
+org/apache/geode/internal/cache/tier/sockets/ClientServerMiscDUnitTestBase,false,clientVmConfiguration:org/apache/geode/test/version/VmConfiguration,props:java/util/Properties,putRange_1End:int,putRange_1Start:int,putRange_2End:int,putRange_2Start:int
 org/apache/geode/internal/cache/tier/sockets/ClientServerMiscDUnitTestBase$1,false,this$0:org/apache/geode/internal/cache/tier/sockets/ClientServerMiscDUnitTestBase,val$rName:java/lang/String
 org/apache/geode/internal/cache/wan/AsyncEventQueueTestBase,false
 org/apache/geode/management/ManagementTestBase,false,restoreSystemProperties:org/apache/geode/test/dunit/rules/DistributedRestoreSystemProperties
@@ -117,7 +117,7 @@ org/apache/geode/management/internal/cli/commands/QueryCommandIntegrationTestBas
 org/apache/geode/management/internal/cli/commands/ShowDeadlockDistributedTestBase$LockFunction,false
 org/apache/geode/management/internal/cli/commands/ShowLogCommandDistributedTestBase,false
 org/apache/geode/management/internal/configuration/ClusterConfig,false,groups:java/util/List
-org/apache/geode/security/ClientAuthorizationTestCase,false,clientVersion:java/lang/String
+org/apache/geode/security/ClientAuthorizationTestCase,false,clientVmConfiguration:org/apache/geode/test/version/VmConfiguration
 org/apache/geode/security/SecurityTestUtils$1,false,this$0:org/apache/geode/security/SecurityTestUtils
 org/apache/geode/security/query/AbstractQuerySecurityDistributedTest,false,cluster:org/apache/geode/test/dunit/rules/ClusterStartupRule,keys:java/lang/Object[],regionName:java/lang/String,server:org/apache/geode/test/dunit/rules/MemberVM,specificUserClient:org/apache/geode/test/dunit/rules/ClientVM,superUserClient:org/apache/geode/test/dunit/rules/ClientVM,values:java/lang/Object[]
 org/apache/geode/security/templates/PKCSPrincipal,false,alias:java/lang/String
@@ -130,7 +130,7 @@ org/apache/geode/test/dunit/RMIException,false,cause:java/lang/Throwable,classNa
 org/apache/geode/test/dunit/RMIException$HokeyException,false,stackTrace:java/lang/String,toString:java/lang/String
 org/apache/geode/test/dunit/SerializableCallable,false,id:long,name:java/lang/String
 org/apache/geode/test/dunit/SerializableRunnable,false,id:long,name:java/lang/String
-org/apache/geode/test/dunit/VM,false,available:boolean,client:org/apache/geode/test/dunit/internal/RemoteDUnitVMIF,host:org/apache/geode/test/dunit/Host,id:int,version:java/lang/String
+org/apache/geode/test/dunit/VM,false,available:boolean,client:org/apache/geode/test/dunit/internal/RemoteDUnitVMIF,configuration:org/apache/geode/test/version/VmConfiguration,host:org/apache/geode/test/dunit/Host,id:int
 org/apache/geode/test/dunit/cache/CacheTestCase,false
 org/apache/geode/test/dunit/cache/internal/JUnit4CacheTestCase,false,RootRegionName:java/lang/String,cacheTestFixture:org/apache/geode/test/dunit/cache/internal/CacheTestFixture
 org/apache/geode/test/dunit/cache/internal/JUnit4CacheTestCase$1,false,this$0:org/apache/geode/test/dunit/cache/internal/JUnit4CacheTestCase,val$exceptionStringToIgnore:java/lang/String
diff --git a/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/ConfigurationCompatibilityTest.java b/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/ConfigurationCompatibilityTest.java
index f88021d99d..1cf004cb21 100644
--- a/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/ConfigurationCompatibilityTest.java
+++ b/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/ConfigurationCompatibilityTest.java
@@ -15,8 +15,10 @@
 package org.apache.geode.management;
 
 
+import static java.util.stream.Collectors.toList;
+import static org.apache.geode.test.version.VmConfigurations.hasGeodeVersion;
+
 import java.util.Collection;
-import java.util.List;
 
 import org.junit.Rule;
 import org.junit.Test;
@@ -30,22 +32,24 @@ import org.apache.geode.test.dunit.rules.MemberVM;
 import org.apache.geode.test.junit.categories.BackwardCompatibilityTest;
 import org.apache.geode.test.junit.rules.GfshCommandRule;
 import org.apache.geode.test.version.TestVersion;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.TestVersions;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 @Category({BackwardCompatibilityTest.class})
 @RunWith(Parameterized.class)
 public class ConfigurationCompatibilityTest {
-  private final String oldVersion;
+  private final VmConfiguration sourceVmConfiguration;
 
   @Parameterized.Parameters(name = "{0}")
-  public static Collection<String> data() {
-    List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
-    result.removeIf(s -> TestVersion.compare(s, "1.10.0") < 0);
-    return result;
+  public static Collection<VmConfiguration> data() {
+    return VmConfigurations.upgrades().stream()
+        .filter(hasGeodeVersion(TestVersions.atLeast(TestVersion.valueOf("1.10.0"))))
+        .collect(toList());
   }
 
-  public ConfigurationCompatibilityTest(String oldVersion) {
-    this.oldVersion = oldVersion;
+  public ConfigurationCompatibilityTest(VmConfiguration sourceVmConfiguration) {
+    this.sourceVmConfiguration = sourceVmConfiguration;
   }
 
   @Rule
@@ -57,21 +61,20 @@ public class ConfigurationCompatibilityTest {
   @Test
   public void whenConfigurationIsExchangedBetweenMixedVersionLocatorsThenItShouldNotThrowExceptions()
       throws Exception {
-    MemberVM locator1 = clusterStartupRule.startLocatorVM(0, oldVersion);
+    MemberVM locator1 = clusterStartupRule.startLocatorVM(0, sourceVmConfiguration);
     int locatorPort1 = locator1.getPort();
-    MemberVM locator2 =
-        clusterStartupRule
-            .startLocatorVM(1, 0, oldVersion, l -> l.withConnectionToLocator(locatorPort1));
+    MemberVM locator2 = clusterStartupRule
+        .startLocatorVM(1, 0, sourceVmConfiguration, l -> l.withConnectionToLocator(locatorPort1));
     int locatorPort2 = locator2.getPort();
 
     gfsh.connect(locator1);
     gfsh.executeAndAssertThat("configure pdx --read-serialized=true --disk-store=DEFAULT")
         .statusIsSuccess();
 
-    clusterStartupRule.startServerVM(2, oldVersion,
+    clusterStartupRule.startServerVM(2, sourceVmConfiguration,
         s -> s.withConnectionToLocator(locatorPort1, locatorPort2).withRegion(
             RegionShortcut.PARTITION, "region"));
-    clusterStartupRule.startServerVM(3, oldVersion,
+    clusterStartupRule.startServerVM(3, sourceVmConfiguration,
         s -> s.withConnectionToLocator(locatorPort1, locatorPort2)
             .withRegion(RegionShortcut.PARTITION, "region"));
 
diff --git a/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/GfshCompatibilityTest.java b/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/GfshCompatibilityTest.java
index a62b98a6d2..4defdf6c8f 100644
--- a/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/GfshCompatibilityTest.java
+++ b/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/GfshCompatibilityTest.java
@@ -18,7 +18,6 @@ package org.apache.geode.management;
 import static org.assertj.core.api.Assertions.assertThat;
 
 import java.util.Collection;
-import java.util.List;
 
 import org.junit.Rule;
 import org.junit.Test;
@@ -26,6 +25,7 @@ import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
 
+import org.apache.geode.internal.util.ProductVersionUtil;
 import org.apache.geode.test.dunit.rules.ClusterStartupRule;
 import org.apache.geode.test.dunit.rules.MemberVM;
 import org.apache.geode.test.junit.categories.BackwardCompatibilityTest;
@@ -33,21 +33,22 @@ import org.apache.geode.test.junit.rules.GfshCommandRule;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
 import org.apache.geode.test.version.TestVersion;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 @Category({BackwardCompatibilityTest.class})
 @RunWith(Parameterized.class)
 @Parameterized.UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)
 public class GfshCompatibilityTest {
-  private final String oldVersion;
+  private final VmConfiguration sourceVmConfiguration;
 
   @Parameterized.Parameters(name = "{0}")
-  public static Collection<String> data() {
-    List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
-    return result;
+  public static Collection<VmConfiguration> data() {
+    return VmConfigurations.upgrades();
   }
 
-  public GfshCompatibilityTest(String oldVersion) {
-    this.oldVersion = oldVersion;
+  public GfshCompatibilityTest(VmConfiguration sourceVmConfiguration) {
+    this.sourceVmConfiguration = sourceVmConfiguration;;
   }
 
   private MemberVM oldLocator;
@@ -60,27 +61,30 @@ public class GfshCompatibilityTest {
 
   @Test
   public void currentGfshConnectToOlderVersionsOfLocator() throws Exception {
-    oldLocator = cluster.startLocatorVM(0, oldVersion);
+    oldLocator = cluster.startLocatorVM(0, sourceVmConfiguration);
+    TestVersion oldVersion = sourceVmConfiguration.geodeVersion();
     int locatorPort = oldLocator.getPort();
-    cluster.startServerVM(1, oldVersion,
+    cluster.startServerVM(1, sourceVmConfiguration,
         s -> s.withConnectionToLocator(locatorPort));
-    // pre 1.10, it should not be able to connect
-    if (TestVersion.compare(oldVersion, "1.5.0") < 0) {
+    if (oldVersion.lessThan(TestVersion.valueOf("1.5.0"))) {
       gfsh.connect(oldLocator.getPort(), GfshCommandRule.PortType.locator);
       assertThat(gfsh.isConnected()).isFalse();
       assertThat(gfsh.getGfshOutput()).contains("Cannot use a")
           .contains("gfsh client to connect to this cluster.");
-    } else if (TestVersion.compare(oldVersion, "1.10.0") < 0) {
+    } else if (oldVersion.lessThan(TestVersion.valueOf("1.10.0"))) {
+      // pre 1.10, it should not be able to connect
       gfsh.connect(oldLocator.getPort(), GfshCommandRule.PortType.locator);
       assertThat(gfsh.isConnected()).isFalse();
       assertThat(gfsh.getGfshOutput()).contains("Cannot use a")
           .contains("gfsh client to connect to a " + oldVersion + " cluster.");
-    }
-    // post 1.10 (including) should connect and be able to execute command
-    else {
+    } else {
+      // post 1.10 (including) should connect and be able to execute command
       gfsh.connectAndVerify(oldLocator);
+      String expectedVersion = VersionManager.isCurrentVersion(oldVersion.toString())
+          ? ProductVersionUtil.getDistributionVersion().getVersion()
+          : oldVersion.toString();
       assertThat(gfsh.getGfshOutput())
-          .contains("You are connected to a cluster of version: " + oldVersion);
+          .contains("You are connected to a cluster of version: " + expectedVersion);
       gfsh.executeAndAssertThat("list members")
           .statusIsSuccess();
     }
diff --git a/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/GfshRebalanceCommandCompatibilityTest.java b/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/GfshRebalanceCommandCompatibilityTest.java
index 3f16b76408..480c180fc6 100644
--- a/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/GfshRebalanceCommandCompatibilityTest.java
+++ b/geode-gfsh/src/upgradeTest/java/org/apache/geode/management/GfshRebalanceCommandCompatibilityTest.java
@@ -14,8 +14,10 @@
  */
 package org.apache.geode.management;
 
+import static java.util.stream.Collectors.toList;
+import static org.apache.geode.test.version.VmConfigurations.hasGeodeVersion;
+
 import java.util.Collection;
-import java.util.List;
 
 import org.junit.Rule;
 import org.junit.Test;
@@ -29,22 +31,24 @@ import org.apache.geode.test.dunit.rules.MemberVM;
 import org.apache.geode.test.junit.categories.BackwardCompatibilityTest;
 import org.apache.geode.test.junit.rules.GfshCommandRule;
 import org.apache.geode.test.version.TestVersion;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.TestVersions;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 @Category({BackwardCompatibilityTest.class})
 @RunWith(Parameterized.class)
 public class GfshRebalanceCommandCompatibilityTest {
-  private final String oldVersion;
+  private final VmConfiguration sourceVmConfiguration;
 
   @Parameterized.Parameters(name = "{0}")
-  public static Collection<String> data() {
-    List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
-    result.removeIf(s -> TestVersion.compare(s, "1.11.0") < 0);
-    return result;
+  public static Collection<VmConfiguration> data() {
+    return VmConfigurations.upgrades().stream()
+        .filter(hasGeodeVersion(TestVersions.atLeast(TestVersion.valueOf("1.11.0"))))
+        .collect(toList());
   }
 
-  public GfshRebalanceCommandCompatibilityTest(String oldVersion) {
-    this.oldVersion = oldVersion;
+  public GfshRebalanceCommandCompatibilityTest(VmConfiguration sourceVmConfiguration) {
+    this.sourceVmConfiguration = sourceVmConfiguration;
   }
 
   @Rule
@@ -56,16 +60,17 @@ public class GfshRebalanceCommandCompatibilityTest {
   @Test
   public void whenCurrentVersionLocatorsExecuteRebalanceOnOldServersThenItMustSucceed()
       throws Exception {
-    MemberVM locator1 = cluster.startLocatorVM(0, oldVersion);
+    MemberVM locator1 = cluster.startLocatorVM(0, sourceVmConfiguration);
     int locatorPort1 = locator1.getPort();
     MemberVM locator2 =
-        cluster.startLocatorVM(1, 0, oldVersion, x -> x.withConnectionToLocator(locatorPort1));
+        cluster.startLocatorVM(1, 0, sourceVmConfiguration,
+            x -> x.withConnectionToLocator(locatorPort1));
     int locatorPort2 = locator2.getPort();
-    cluster
-        .startServerVM(2, oldVersion, s -> s.withRegion(RegionShortcut.PARTITION, "region")
+    cluster.startServerVM(2, sourceVmConfiguration,
+        s -> s.withRegion(RegionShortcut.PARTITION, "region")
             .withConnectionToLocator(locatorPort1, locatorPort2));
-    cluster
-        .startServerVM(3, oldVersion, s -> s.withRegion(RegionShortcut.PARTITION, "region")
+    cluster.startServerVM(3, sourceVmConfiguration,
+        s -> s.withRegion(RegionShortcut.PARTITION, "region")
             .withConnectionToLocator(locatorPort1, locatorPort2));
     cluster.stop(0);
     locator1 = cluster.startLocatorVM(0, x -> x.withConnectionToLocator(locatorPort2));
diff --git a/geode-junit/src/main/java/org/apache/geode/test/version/JavaVersion.java b/geode-junit/src/main/java/org/apache/geode/test/version/JavaVersion.java
new file mode 100644
index 0000000000..2fe17091a2
--- /dev/null
+++ b/geode-junit/src/main/java/org/apache/geode/test/version/JavaVersion.java
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+ * agreements. See the NOTICE file distributed with this work for additional information regarding
+ * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License. You may obtain a
+ * copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ */
+
+package org.apache.geode.test.version;
+
+import java.io.Serializable;
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.util.Objects;
+
+/**
+ * Represents an installed version of Java.
+ */
+public class JavaVersion implements Comparable<JavaVersion>, Serializable {
+  public final int specificationVersion;
+  public final String home;
+
+  public JavaVersion(int specificationVersion, Path home) {
+    this.specificationVersion = specificationVersion;
+    this.home = home.toAbsolutePath().normalize().toString();
+  }
+
+  /**
+   * @return the absolute, normalized path to this version's home
+   */
+  public Path home() {
+    return Paths.get(home);
+  }
+
+  /**
+   * @return this Java version's specification version
+   */
+  public int specificationVersion() {
+    return specificationVersion;
+  }
+
+  @Override
+  public String toString() {
+    return "" + specificationVersion;
+  }
+
+  @Override
+  public boolean equals(Object o) {
+    if (this == o) {
+      return true;
+    }
+    if (o == null || getClass() != o.getClass()) {
+      return false;
+    }
+    return specificationVersion == ((JavaVersion) o).specificationVersion;
+  }
+
+  @Override
+  public int hashCode() {
+    return Objects.hash(specificationVersion);
+  }
+
+  @Override
+  public int compareTo(JavaVersion other) {
+    return Integer.compare(specificationVersion, other.specificationVersion);
+  }
+}
diff --git a/geode-junit/src/main/java/org/apache/geode/test/version/JavaVersions.java b/geode-junit/src/main/java/org/apache/geode/test/version/JavaVersions.java
new file mode 100644
index 0000000000..117ec6b3d7
--- /dev/null
+++ b/geode-junit/src/main/java/org/apache/geode/test/version/JavaVersions.java
@@ -0,0 +1,144 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+ * agreements. See the NOTICE file distributed with this work for additional information regarding
+ * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License. You may obtain a
+ * copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ */
+
+package org.apache.geode.test.version;
+
+import static java.util.stream.Collectors.toList;
+import static org.apache.logging.log4j.util.Strings.isBlank;
+import static org.assertj.core.api.Assertions.assertThat;
+
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+import java.util.function.Predicate;
+
+/**
+ * Discovers Java versions for use in {@link VmConfiguration}s. The known versions include:
+ * <ul>
+ * <li>The version of the current JVM.
+ * <li>Each of the following if its specification version is lower than current JVM's and if the
+ * corresponding environment variable identifies a directory:
+ * <ul>
+ * <li>Java 8: {@code TEST_JAVA_8_HOME}.</li>
+ * <li>Java 11: {@code TEST_JAVA_11_HOME}.</li>
+ * <li>Java 17: {@code TEST_JAVA_17_HOME}.</li>
+ * </ul>
+ * </li>
+ * </ul>
+ */
+public class JavaVersions {
+  private static final JavaVersion CURRENT_VERSION =
+      new JavaVersion(currentJavaSpecificationVersion(), currentJavaHome());
+
+  private static final Set<JavaVersion> KNOWN_VERSIONS = new HashSet<>();
+
+  static {
+    discover(8);
+    discover(11);
+    discover(17);
+    add(CURRENT_VERSION, "java.home");
+  }
+
+  /**
+   * @return a list of known Java versions
+   */
+  public static List<JavaVersion> all() {
+    return KNOWN_VERSIONS.stream()
+        .sorted()
+        .collect(toList());
+  }
+
+  /**
+   * @return the Java version of this JVM
+   */
+  public static JavaVersion current() {
+    return CURRENT_VERSION;
+  }
+
+  /**
+   * Returns a predicate that tests if its argument is less than {@code bound}.
+   *
+   * @param bound the upper bound
+   * @return a predicate that tests if its argument is less than @{code bound}
+   */
+  public static Predicate<JavaVersion> lessThan(JavaVersion bound) {
+    return v -> v.compareTo(bound) < 0;
+  }
+
+  /**
+   * Returns a predicate that tests if its argument is at most {@code bound}.
+   *
+   * @param bound the upper bound
+   * @return a predicate that tests if its argument is at most {@code bound}
+   */
+  public static Predicate<JavaVersion> atMost(JavaVersion bound) {
+    return v -> v.compareTo(bound) <= 0;
+  }
+
+  /**
+   * Returns a predicate that tests if its argument is at least {@code bound}.
+   *
+   * @param bound the lower bound
+   * @return a predicate that tests if its argument is at least {@code bound}
+   */
+  public static Predicate<JavaVersion> atLeast(JavaVersion bound) {
+    return v -> v.compareTo(bound) >= 0;
+  }
+
+  /**
+   * Returns a predicate that tests if its argument is greater than {@code bound}.
+   *
+   * @param bound the lower bound
+   * @return a predicate that tests if its argument is greater than {@code bound}
+   */
+  public static Predicate<JavaVersion> greaterThan(JavaVersion bound) {
+    return v -> v.compareTo(bound) > 0;
+  }
+
+  private static void discover(int specificationVersion) {
+    // Add the Java version only if its specification version is lower than the current JVM's.
+    if (specificationVersion >= CURRENT_VERSION.specificationVersion()) {
+      return;
+    }
+    String homeVariable = "TEST_JAVA_" + specificationVersion + "_HOME";
+    String home = System.getenv(homeVariable);
+    if (isBlank(home)) {
+      return;
+    }
+    add(new JavaVersion(specificationVersion, Paths.get(home)), homeVariable);
+  }
+
+  private static void add(JavaVersion javaVersion, String source) {
+    assertThat(javaVersion.home())
+        .as("Java %d home from %s", javaVersion, source)
+        .isDirectory();
+    KNOWN_VERSIONS.add(javaVersion);
+  }
+
+  private static int currentJavaSpecificationVersion() {
+    String specificationVersion = System.getProperty("java.specification.version");
+    if (specificationVersion.contains(".")) {
+      return Integer.parseInt(specificationVersion.split("\\.")[1]);
+    }
+    return Integer.parseInt(specificationVersion);
+  }
+
+  private static Path currentJavaHome() {
+    return Paths.get(System.getProperty("java.home"));
+  }
+}
diff --git a/geode-junit/src/main/java/org/apache/geode/test/version/TestVersion.java b/geode-junit/src/main/java/org/apache/geode/test/version/TestVersion.java
index aef7ca8f03..fa648001f9 100644
--- a/geode-junit/src/main/java/org/apache/geode/test/version/TestVersion.java
+++ b/geode-junit/src/main/java/org/apache/geode/test/version/TestVersion.java
@@ -41,6 +41,10 @@ public class TestVersion implements Comparable<TestVersion>, Serializable {
     release = Integer.parseInt(split[2]);
   }
 
+  public String majorMinor() {
+    return "" + major + '.' + minor;
+  }
+
   /*
    * Perform a comparison of the major, minor and patch versions of the two version strings.
    * The version strings should be in dot notation.
@@ -54,7 +58,6 @@ public class TestVersion implements Comparable<TestVersion>, Serializable {
     return "" + major + "." + minor + "." + release;
   }
 
-
   @Override
   public boolean equals(Object o) {
     if (this == o) {
diff --git a/geode-junit/src/main/java/org/apache/geode/test/version/TestVersions.java b/geode-junit/src/main/java/org/apache/geode/test/version/TestVersions.java
new file mode 100644
index 0000000000..0cac008bf6
--- /dev/null
+++ b/geode-junit/src/main/java/org/apache/geode/test/version/TestVersions.java
@@ -0,0 +1,64 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+ * agreements. See the NOTICE file distributed with this work for additional information regarding
+ * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License. You may obtain a
+ * copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ */
+
+package org.apache.geode.test.version;
+
+import java.util.function.Predicate;
+
+/**
+ * Factory methods for predicates to evaluate {@link TestVersion}s.
+ */
+public class TestVersions {
+  /**
+   * Returns a predicate that tests if its argument is less than {@code bound}.
+   *
+   * @param bound the upper bound
+   * @return a predicate that tests if its argument is less than @{code bound}
+   */
+  public static Predicate<TestVersion> lessThan(TestVersion bound) {
+    return v -> v.lessThan(bound);
+  }
+
+  /**
+   * Returns a predicate that tests if its argument is at most {@code bound}.
+   *
+   * @param bound the upper bound
+   * @return a predicate that tests if its argument is at most @{code bound}
+   */
+  public static Predicate<TestVersion> atMost(TestVersion bound) {
+    return v -> v.lessThanOrEqualTo(bound);
+  }
+
+  /**
+   * Returns a predicate that tests if its argument at least {@code bound}.
+   *
+   * @param bound the lower bound
+   * @return a predicate that tests if its argument is at least @{code bound}
+   */
+  public static Predicate<TestVersion> atLeast(TestVersion bound) {
+    return v -> v.greaterThanOrEqualTo(bound);
+  }
+
+  /**
+   * Returns a predicate that tests if its argument is greater than {@code bound}.
+   *
+   * @param bound the lower bound
+   * @return a predicate that tests if its argument is greater than @{code bound}
+   */
+  public static Predicate<TestVersion> greaterThan(TestVersion bound) {
+    return v -> v.greaterThanOrEqualTo(bound);
+  }
+}
diff --git a/geode-junit/src/main/java/org/apache/geode/test/version/VmConfiguration.java b/geode-junit/src/main/java/org/apache/geode/test/version/VmConfiguration.java
new file mode 100644
index 0000000000..22569fc9e8
--- /dev/null
+++ b/geode-junit/src/main/java/org/apache/geode/test/version/VmConfiguration.java
@@ -0,0 +1,114 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+ * agreements. See the NOTICE file distributed with this work for additional information regarding
+ * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License. You may obtain a
+ * copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ */
+
+package org.apache.geode.test.version;
+
+import static java.lang.String.format;
+import static org.apache.geode.test.version.TestVersion.CURRENT_VERSION;
+
+import java.io.Serializable;
+import java.util.Objects;
+
+/**
+ * A configuration for a JVM used in a Geode test, defined by the version of Geode and the
+ * version of Java.
+ */
+public class VmConfiguration implements Serializable {
+  private final TestVersion geodeVersion;
+  private final JavaVersion javaVersion;
+
+  private VmConfiguration(JavaVersion javaVersion, TestVersion geodeVersion) {
+    this.javaVersion = javaVersion;
+    this.geodeVersion = geodeVersion;
+  }
+
+  /**
+   * Returns a configuration for {@code geodeVersion} and the current JVM's version of Java.
+   *
+   * @param geodeVersion the Geode version for the configuration
+   * @return the configuration
+   */
+  public static VmConfiguration forGeodeVersion(TestVersion geodeVersion) {
+    return new VmConfiguration(JavaVersions.current(), geodeVersion);
+  }
+
+  /**
+   * Returns a configuration for {@code geodeVersion} and the current JVM's version of Java.
+   *
+   * @param geodeVersion the Geode version for the configuration
+   * @return the configuration
+   */
+  public static VmConfiguration forGeodeVersion(String geodeVersion) {
+    return forGeodeVersion(TestVersion.valueOf(geodeVersion));
+  }
+
+  /**
+   * Returns a configuration for {@code javaVersion} and the current JVM's version of Geode.
+   *
+   * @param javaVersion the Java version for the configuration
+   * @return the configuration
+   */
+  public static VmConfiguration forJavaVersion(JavaVersion javaVersion) {
+    return new VmConfiguration(javaVersion, CURRENT_VERSION);
+  }
+
+  /**
+   * @return the configuration of the current JVM
+   */
+  public static VmConfiguration current() {
+    return new VmConfiguration(JavaVersions.current(), CURRENT_VERSION);
+  }
+
+  /**
+   * @return this configuration's Geode version
+   */
+  public TestVersion geodeVersion() {
+    return geodeVersion;
+  }
+
+  /**
+   * @return this configuration's Java version
+   */
+  public JavaVersion javaVersion() {
+    return javaVersion;
+  }
+
+  @Override
+  public boolean equals(Object o) {
+    if (this == o) {
+      return true;
+    }
+    if (o == null || getClass() != o.getClass()) {
+      return false;
+    }
+    VmConfiguration that = (VmConfiguration) o;
+    return geodeVersion.equals(that.geodeVersion) && javaVersion == that.javaVersion;
+  }
+
+  @Override
+  public int hashCode() {
+    return Objects.hash(geodeVersion, javaVersion);
+  }
+
+  @Override
+  public String toString() {
+    String geodeVersionString = geodeVersion.equals(CURRENT_VERSION)
+        ? "current"
+        : geodeVersion.toString();
+    return format("%s{java=%s, geode=%s}",
+        getClass().getSimpleName(), javaVersion, geodeVersionString);
+  }
+}
diff --git a/geode-junit/src/main/java/org/apache/geode/test/version/VmConfigurations.java b/geode-junit/src/main/java/org/apache/geode/test/version/VmConfigurations.java
new file mode 100644
index 0000000000..a9e4d2e2ba
--- /dev/null
+++ b/geode-junit/src/main/java/org/apache/geode/test/version/VmConfigurations.java
@@ -0,0 +1,105 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+ * agreements. See the NOTICE file distributed with this work for additional information regarding
+ * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License. You may obtain a
+ * copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ */
+
+package org.apache.geode.test.version;
+
+import static java.util.stream.Collectors.toList;
+import static org.apache.geode.test.version.TestVersion.CURRENT_VERSION;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.function.Predicate;
+import java.util.stream.Stream;
+
+/**
+ * Methods to enumerate and evaluate VM configurations available for use in Geode tests.
+ */
+public class VmConfigurations {
+  private static final List<VmConfiguration> ALL_CONFIGURATIONS = Stream.concat(
+      currentGeodeWithEachJava(), currentJavaWithEachCompatibleOldGeode())
+      .collect(toList());
+
+  /**
+   * Returns the list of available VM configurations. This includes:
+   * <ul>
+   * <li>Configurations for the current version of Java with each compatible version of Geode.</li>
+   * <li>Configurations for the current version of Geode with each compatible version of Java.</li>
+   * </ul>
+   *
+   * @return the list of available VM configurations
+   */
+  public static List<VmConfiguration> all() {
+    return new ArrayList<>(ALL_CONFIGURATIONS);
+  }
+
+  /**
+   * Returns the list of VM configurations suitable for use as starting configurations in upgrade
+   * tests. Each upgrade configuration has either an old version of Geode or an old version of
+   * Java, but not both.
+   *
+   * @return the list of VM configurations suitable for upgrade tests
+   */
+  public static List<VmConfiguration> upgrades() {
+    return ALL_CONFIGURATIONS.stream()
+        .filter(isUpgrade())
+        .collect(toList());
+  }
+
+  /**
+   * Returns a predicate that applies {@code predicate} to a configuration's Geode version.
+   *
+   * @param predicate a Geode version predicate
+   * @return a predicate that applies {@code predicate} to a configuration's Geode version
+   */
+  public static Predicate<VmConfiguration> hasGeodeVersion(Predicate<TestVersion> predicate) {
+    return config -> predicate.test(config.geodeVersion());
+  }
+
+  /**
+   * Returns a predicate that applies {@code predicate} to a configuration's Java version.
+   *
+   * @param predicate a Java version predicate
+   * @return a predicate that applies {@code predicate} to a configuration's Java version
+   */
+  public static Predicate<VmConfiguration> hasJavaVersion(Predicate<JavaVersion> predicate) {
+    return config -> predicate.test(config.javaVersion());
+  }
+
+  private static Stream<VmConfiguration> currentGeodeWithEachJava() {
+    return JavaVersions.all().stream()
+        .map(VmConfiguration::forJavaVersion);
+  }
+
+  private static Stream<VmConfiguration> currentJavaWithEachCompatibleOldGeode() {
+    return VersionManager.getInstance().getVersionsWithoutCurrent().stream()
+        .map(TestVersion::valueOf)
+        .filter(isCompatibleWithCurrentJava())
+        .map(VmConfiguration::forGeodeVersion);
+  }
+
+  private static Predicate<VmConfiguration> isUpgrade() {
+    return hasGeodeVersion(TestVersions.lessThan(CURRENT_VERSION)).or(
+        hasJavaVersion(JavaVersions.lessThan(JavaVersions.current())));
+  }
+
+  private static Predicate<TestVersion> isCompatibleWithCurrentJava() {
+    return geodeVersion
+    // Every version of Geode is compatible with Java 11 and below
+    -> JavaVersions.current().specificationVersion() <= 11
+        // Geode 1.15 and above are compatible with every Java version through Java 17
+        || geodeVersion.greaterThanOrEqualTo(TestVersion.valueOf("1.15.0"));
+  }
+}
diff --git a/geode-junit/src/main/resources/org/apache/geode/test/junit/internal/sanctioned-geode-junit-serializables.txt b/geode-junit/src/main/resources/org/apache/geode/test/junit/internal/sanctioned-geode-junit-serializables.txt
index 97e1d24230..65a08f6607 100644
--- a/geode-junit/src/main/resources/org/apache/geode/test/junit/internal/sanctioned-geode-junit-serializables.txt
+++ b/geode-junit/src/main/resources/org/apache/geode/test/junit/internal/sanctioned-geode-junit-serializables.txt
@@ -108,7 +108,9 @@ org/apache/geode/test/junit/rules/serializable/SerializableTestWatcher,false
 org/apache/geode/test/junit/rules/serializable/SerializableTimeout,false
 org/apache/geode/test/junit/rules/serializable/SerializableTimeout$SerializationProxy,false,lookForStuckThread:boolean,timeUnit:java/util/concurrent/TimeUnit,timeout:long
 org/apache/geode/test/junit/support/IgnoreConditionEvaluationException,false
+org/apache/geode/test/version/JavaVersion,false,home:java/lang/String,specificationVersion:int
 org/apache/geode/test/version/TestVersion,false,major:int,minor:int,release:int
+org/apache/geode/test/version/VmConfiguration,false,geodeVersion:org/apache/geode/test/version/TestVersion,javaVersion:org/apache/geode/test/version/JavaVersion
 parReg/query/unittest/NewPortfolio,false,MAX_NUM_OF_POSITIONS:int,MAX_PRICE:int,MAX_QTY:int,NUM_OF_SECURITIES:int,NUM_OF_TYPES:int,id:int,myVersion:java/lang/String,name:java/lang/String,positions:java/util/Map,status:java/lang/String,type:java/lang/String,undefinedTestField:java/lang/String
 parReg/query/unittest/Position,false,MAX_PRICE:int,NUM_OF_SECURITIES:int,mktValue:double,qty:double,secId:java/lang/String
 util/TestException,false
diff --git a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/LuceneSearchWithRollingUpgradeDUnit.java b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/LuceneSearchWithRollingUpgradeDUnit.java
index 4810612c39..c9af92ec69 100644
--- a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/LuceneSearchWithRollingUpgradeDUnit.java
+++ b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/LuceneSearchWithRollingUpgradeDUnit.java
@@ -15,11 +15,16 @@
 package org.apache.geode.cache.lucene;
 
 
+import static java.util.stream.Collectors.toList;
+import static org.apache.geode.test.version.VmConfigurations.hasGeodeVersion;
+import static org.assertj.core.api.Assertions.assertThat;
+
 import java.io.File;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
 import java.util.Properties;
+import java.util.function.Predicate;
 
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
@@ -32,7 +37,8 @@ import org.apache.geode.test.dunit.NetworkUtils;
 import org.apache.geode.test.dunit.VM;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
 import org.apache.geode.test.version.TestVersion;
-import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 @RunWith(Parameterized.class)
 @Parameterized.UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)
@@ -40,9 +46,9 @@ public abstract class LuceneSearchWithRollingUpgradeDUnit
     extends LuceneSearchWithRollingUpgradeTestBase {
 
 
-  @Parameterized.Parameters(name = "from_v{0}, with reindex={1}, singleHopEnabled={2}")
+  @Parameterized.Parameters(name = "from {0}, with reindex={1}, singleHopEnabled={2}")
   public static Collection<Object[]> data() {
-    Collection<String> luceneVersions = getLuceneVersions();
+    Collection<VmConfiguration> luceneVersions = getLuceneVersions();
     Collection<Object[]> rval = new ArrayList<>();
     luceneVersions.forEach(v -> {
       rval.add(new Object[] {v, true, true});
@@ -51,26 +57,29 @@ public abstract class LuceneSearchWithRollingUpgradeDUnit
     return rval;
   }
 
-  private static Collection<String> getLuceneVersions() {
-    List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
+  private static Collection<VmConfiguration> getLuceneVersions() {
+    Predicate<TestVersion> isLuceneCompatible = geodeVersion ->
     // Lucene Compatibility checks start with Apache Geode v1.2.0
     // Removing the versions older than v1.2.0
-    result.removeIf(s -> TestVersion.compare(s, "1.2.0") < 0);
-
-    // The changes relating to GEODE-7258 is not applied on 1.10.0, skipping rolling
-    // upgrade for 1.10.0. The change was verified by rolling from develop to develop.
-    result.removeIf(s -> TestVersion.compare(s, "1.10.0") == 0);
-    if (result.size() < 1) {
-      throw new RuntimeException("No older versions of Geode were found to test against");
-    } else {
-      System.out.println("running against these versions: " + result);
-    }
-    return result;
+    geodeVersion.greaterThanOrEqualTo(TestVersion.valueOf("1.2.0"))
+        // The changes relating to GEODE-7258 is not applied on 1.10.0, skipping rolling
+        // upgrade for 1.10.0. The change was verified by rolling from develop to develop.
+        && !geodeVersion.equals(TestVersion.valueOf("1.10.0"));
+
+    List<VmConfiguration> luceneCompatibleConfigurations = VmConfigurations.upgrades().stream()
+        .filter(hasGeodeVersion(isLuceneCompatible))
+        .collect(toList());
+    assertThat(luceneCompatibleConfigurations)
+        .as("configurations compatible with Lucene")
+        .isNotEmpty();
+
+    System.out.println("running against these configurations: " + luceneCompatibleConfigurations);
+    return luceneCompatibleConfigurations;
   }
 
-  // the old version of Geode we're testing against
+  // the Java version and Geode version we're upgrading from
   @Parameterized.Parameter()
-  public String oldVersion;
+  public VmConfiguration sourceConfiguration;
 
   @Parameterized.Parameter(1)
   public Boolean reindex;
@@ -81,14 +90,14 @@ public abstract class LuceneSearchWithRollingUpgradeDUnit
   // We start an "old" locator and old servers
   // We roll the locator
   // Now we roll all the servers from old to new
-  void executeLuceneQueryWithServerRollOvers(String regionType, String startingVersion)
+  void executeLuceneQueryWithServerRollOvers(String regionType,
+      VmConfiguration startingConfiguration)
       throws Exception {
     final Host host = Host.getHost(0);
-    VM server1 = host.getVM(startingVersion, 0);
-    VM server2 = host.getVM(startingVersion, 1);
-    VM server3 = host.getVM(startingVersion, 2);
-    VM locator = host.getVM(startingVersion, 3);
-
+    VM server1 = host.getVM(startingConfiguration, 0);
+    VM server2 = host.getVM(startingConfiguration, 1);
+    VM server3 = host.getVM(startingConfiguration, 2);
+    VM locator = host.getVM(startingConfiguration, 3);
 
     String regionName = "aRegion";
     String shortcutName = null;
diff --git a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultAfterTwoLocatorsWithTwoServersAreRolled.java b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultAfterTwoLocatorsWithTwoServersAreRolled.java
index 8178ea6e0e..9818975d17 100644
--- a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultAfterTwoLocatorsWithTwoServersAreRolled.java
+++ b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultAfterTwoLocatorsWithTwoServersAreRolled.java
@@ -35,10 +35,10 @@ public class RollingUpgradeQueryReturnsCorrectResultAfterTwoLocatorsWithTwoServe
   public void luceneQueryReturnsCorrectResultAfterTwoLocatorsWithTwoServersAreRolled()
       throws Exception {
     final Host host = Host.getHost(0);
-    VM locator1 = host.getVM(oldVersion, 0);
-    VM locator2 = host.getVM(oldVersion, 1);
-    VM server1 = host.getVM(oldVersion, 2);
-    VM server2 = host.getVM(oldVersion, 3);
+    VM locator1 = host.getVM(sourceConfiguration, 0);
+    VM locator2 = host.getVM(sourceConfiguration, 1);
+    VM server1 = host.getVM(sourceConfiguration, 2);
+    VM server2 = host.getVM(sourceConfiguration, 3);
 
     final String regionName = "aRegion";
     RegionShortcut shortcut = RegionShortcut.PARTITION_REDUNDANT;
diff --git a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterClientAndServersAreRolledOver.java b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterClientAndServersAreRolledOver.java
index df1e329386..7263e23e1e 100644
--- a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterClientAndServersAreRolledOver.java
+++ b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterClientAndServersAreRolledOver.java
@@ -35,10 +35,10 @@ public class RollingUpgradeQueryReturnsCorrectResultsAfterClientAndServersAreRol
   public void luceneQueryReturnsCorrectResultsAfterClientAndServersAreRolledOver()
       throws Exception {
     final Host host = Host.getHost(0);
-    VM locator = host.getVM(oldVersion, 0);
-    VM server2 = host.getVM(oldVersion, 1);
-    VM server3 = host.getVM(oldVersion, 2);
-    VM client = host.getVM(oldVersion, 3);
+    VM locator = host.getVM(sourceConfiguration, 0);
+    VM server2 = host.getVM(sourceConfiguration, 1);
+    VM server3 = host.getVM(sourceConfiguration, 2);
+    VM client = host.getVM(sourceConfiguration, 3);
 
     final String regionName = "aRegion";
     String regionType = "partitionedRedundant";
diff --git a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterClientAndServersAreRolledOverAllBucketsCreated.java b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterClientAndServersAreRolledOverAllBucketsCreated.java
index 195aaf4c1e..e0da0818a6 100644
--- a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterClientAndServersAreRolledOverAllBucketsCreated.java
+++ b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterClientAndServersAreRolledOverAllBucketsCreated.java
@@ -47,10 +47,10 @@ public class RollingUpgradeQueryReturnsCorrectResultsAfterClientAndServersAreRol
     // buckets
     // - do a query which causes the IndexFormatTooNewException to be thrown
     final Host host = Host.getHost(0);
-    VM locator = host.getVM(oldVersion, 0);
-    VM server1 = host.getVM(oldVersion, 1);
-    VM server2 = host.getVM(oldVersion, 2);
-    VM client = host.getVM(oldVersion, 3);
+    VM locator = host.getVM(sourceConfiguration, 0);
+    VM server1 = host.getVM(sourceConfiguration, 1);
+    VM server2 = host.getVM(sourceConfiguration, 2);
+    VM client = host.getVM(sourceConfiguration, 3);
 
     final String regionName = "aRegion";
     String regionType = "partitionedRedundant";
diff --git a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterServersRollOverOnPartitionRegion.java b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterServersRollOverOnPartitionRegion.java
index 48842edea4..bd1c6b9b61 100644
--- a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterServersRollOverOnPartitionRegion.java
+++ b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterServersRollOverOnPartitionRegion.java
@@ -21,7 +21,7 @@ public class RollingUpgradeQueryReturnsCorrectResultsAfterServersRollOverOnParti
   @Test
   public void luceneQueryReturnsCorrectResultsAfterServersRollOverOnPartitionRegion()
       throws Exception {
-    executeLuceneQueryWithServerRollOvers("partitionedRedundant", oldVersion);
+    executeLuceneQueryWithServerRollOvers("partitionedRedundant", sourceConfiguration);
   }
 
 }
diff --git a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterServersRollOverOnPersistentPartitionRegion.java b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterServersRollOverOnPersistentPartitionRegion.java
index 6854f1d429..a192562b31 100644
--- a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterServersRollOverOnPersistentPartitionRegion.java
+++ b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeQueryReturnsCorrectResultsAfterServersRollOverOnPersistentPartitionRegion.java
@@ -22,7 +22,7 @@ public class RollingUpgradeQueryReturnsCorrectResultsAfterServersRollOverOnPersi
   @Test
   public void luceneQueryReturnsCorrectResultsAfterServersRollOverOnPersistentPartitionRegion()
       throws Exception {
-    executeLuceneQueryWithServerRollOvers("persistentPartitioned", oldVersion);
+    executeLuceneQueryWithServerRollOvers("persistentPartitioned", sourceConfiguration);
   }
 
 }
diff --git a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeReindexShouldBeSuccessfulWhenAllServersRollToCurrentVersion.java b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeReindexShouldBeSuccessfulWhenAllServersRollToCurrentVersion.java
index 773666b7e2..e85510a071 100644
--- a/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeReindexShouldBeSuccessfulWhenAllServersRollToCurrentVersion.java
+++ b/geode-lucene/src/upgradeTest/java/org/apache/geode/cache/lucene/RollingUpgradeReindexShouldBeSuccessfulWhenAllServersRollToCurrentVersion.java
@@ -15,11 +15,11 @@
 package org.apache.geode.cache.lucene;
 
 import static org.apache.geode.test.awaitility.GeodeAwaitility.await;
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assumptions.assumeThat;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 
-import org.assertj.core.api.Assertions;
-import org.junit.Assume;
 import org.junit.Test;
 
 import org.apache.geode.cache.RegionShortcut;
@@ -31,19 +31,22 @@ import org.apache.geode.test.dunit.DistributedTestUtils;
 import org.apache.geode.test.dunit.Host;
 import org.apache.geode.test.dunit.NetworkUtils;
 import org.apache.geode.test.dunit.VM;
+import org.apache.geode.test.version.TestVersion;
 
 public class RollingUpgradeReindexShouldBeSuccessfulWhenAllServersRollToCurrentVersion
     extends LuceneSearchWithRollingUpgradeDUnit {
 
   @Test
   public void luceneReindexShouldBeSuccessfulWhenAllServersRollToCurrentVersion() throws Exception {
-    Assume.assumeFalse("minor versions should be different",
-        majorMinor(oldVersion).equals(majorMinor(KnownVersion.CURRENT.getName())));
+    assumeThat(sourceConfiguration.geodeVersion().majorMinor())
+        .as("source configuration Geode version major minor")
+        .isNotEqualTo(TestVersion.CURRENT_VERSION.majorMinor())
+        .isNotEqualTo(majorMinor(KnownVersion.CURRENT.getName()));
 
     final Host host = Host.getHost(0);
-    VM locator1 = host.getVM(oldVersion, 0);
-    VM server1 = host.getVM(oldVersion, 1);
-    VM server2 = host.getVM(oldVersion, 2);
+    VM locator1 = host.getVM(sourceConfiguration, 0);
+    VM server1 = host.getVM(sourceConfiguration, 1);
+    VM server2 = host.getVM(sourceConfiguration, 2);
 
     final String regionName = "aRegion";
     RegionShortcut shortcut = RegionShortcut.PARTITION_REDUNDANT;
@@ -120,8 +123,7 @@ public class RollingUpgradeReindexShouldBeSuccessfulWhenAllServersRollToCurrentV
    */
   private static String majorMinor(String version) {
     String[] parts = version.split("\\.");
-    Assertions.assertThat(parts.length).isGreaterThanOrEqualTo(2);
+    assertThat(parts.length).isGreaterThanOrEqualTo(2);
     return parts[0] + "." + parts[1];
   }
-
 }
diff --git a/geode-tcp-server/src/upgradeTest/java/org/apache/geode/distributed/internal/tcpserver/TcpServerProductVersionUpgradeTest.java b/geode-tcp-server/src/upgradeTest/java/org/apache/geode/distributed/internal/tcpserver/TcpServerProductVersionUpgradeTest.java
index 649673b23e..056047b04d 100644
--- a/geode-tcp-server/src/upgradeTest/java/org/apache/geode/distributed/internal/tcpserver/TcpServerProductVersionUpgradeTest.java
+++ b/geode-tcp-server/src/upgradeTest/java/org/apache/geode/distributed/internal/tcpserver/TcpServerProductVersionUpgradeTest.java
@@ -52,7 +52,6 @@ import org.apache.geode.internal.net.SocketCreatorFactory;
 import org.apache.geode.internal.security.SecurableCommunicationChannel;
 import org.apache.geode.test.awaitility.GeodeAwaitility;
 import org.apache.geode.test.dunit.DistributedTestUtils;
-import org.apache.geode.test.dunit.Host;
 import org.apache.geode.test.dunit.SerializableRunnableIF;
 import org.apache.geode.test.dunit.VM;
 import org.apache.geode.test.dunit.internal.DUnitLauncher;
@@ -156,9 +155,8 @@ public class TcpServerProductVersionUpgradeTest implements Serializable {
     int locatorVMNumber =
         versions.locatorProductVersion.equals(TestVersion.CURRENT_VERSION)
             ? DUnitLauncher.DEBUGGING_VM_NUM : 0;
-    VM clientVM = Host.getHost(0).getVM(versions.clientProductVersion.toString(), clientVMNumber);
-    VM locatorVM =
-        Host.getHost(0).getVM(versions.locatorProductVersion.toString(), locatorVMNumber);
+    VM clientVM = VM.getVM(versions.clientProductVersion.toString(), clientVMNumber);
+    VM locatorVM = VM.getVM(versions.locatorProductVersion.toString(), locatorVMNumber);
     int locatorPort = createLocator(locatorVM);
 
     clientVM.invoke("issue version request",
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo.java
index 178299d3ad..697ea2ef38 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo.java
@@ -32,6 +32,7 @@ import org.apache.geode.test.dunit.VM;
 import org.apache.geode.test.dunit.cache.internal.JUnit4CacheTestCase;
 import org.apache.geode.test.junit.assertions.CommandResultAssert;
 import org.apache.geode.test.junit.rules.GfshCommandRule;
+import org.apache.geode.test.version.TestVersion;
 import org.apache.geode.test.version.VersionManager;
 
 public class WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo
@@ -42,9 +43,9 @@ public class WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo
     final Host host = Host.getHost(0);
 
     // Get mixed site members
-    VM site1Locator = host.getVM(oldVersion, 0);
-    VM site1Server1 = host.getVM(oldVersion, 1);
-    VM site1Server2 = host.getVM(oldVersion, 2);
+    VM site1Locator = host.getVM(sourceVmConfiguration, 0);
+    VM site1Server1 = host.getVM(sourceVmConfiguration, 1);
+    VM site1Server2 = host.getVM(sourceVmConfiguration, 2);
 
     // Get current site members
     VM site2Locator = host.getVM(VersionManager.CURRENT_VERSION, 4);
@@ -108,15 +109,19 @@ public class WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo
     gfsh.connectAndVerify(jmxManagerPort, GfshCommandRule.PortType.jmxManager);
     CommandResultAssert cmd = gfsh
         .executeAndAssertThat(getCreateGatewaySenderCommand("toSite2", site2DistributedSystemId));
-    if (!majorMinor(oldVersion).equals(majorMinor(KnownVersion.CURRENT.getName()))) {
+    if (isCurrentVersionMajorMinor(sourceVmConfiguration.geodeVersion())) {
+      cmd.statusIsSuccess();
+    } else {
       cmd.statusIsError()
           .containsOutput(CliStrings.CREATE_GATEWAYSENDER__MSG__CAN_NOT_CREATE_DIFFERENT_VERSIONS);
-    } else {
-      // generally serialization version is unchanged between patch releases
-      cmd.statusIsSuccess();
     }
   }
 
+  private boolean isCurrentVersionMajorMinor(TestVersion geodeVersion) {
+    return geodeVersion.equals(TestVersion.CURRENT_VERSION) ||
+        majorMinor(geodeVersion.toString()).equals(majorMinor(KnownVersion.CURRENT.getName()));
+  }
+
   /**
    * returns the major.minor prefix of a semver
    */
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeDUnitTest.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeDUnitTest.java
index 74dd4e9889..44c579bb54 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeDUnitTest.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeDUnitTest.java
@@ -70,30 +70,36 @@ import org.apache.geode.test.junit.categories.WanTest;
 import org.apache.geode.test.junit.rules.GfshCommandRule;
 import org.apache.geode.test.junit.runners.CategoryWithParameterizedRunnerFactory;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 @SuppressWarnings("ConstantConditions")
 @Category(WanTest.class)
 @RunWith(Parameterized.class)
 @Parameterized.UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)
 public abstract class WANRollingUpgradeDUnitTest extends JUnit4CacheTestCase {
-  @Parameterized.Parameters(name = "from_v{0}")
-  public static Collection data() {
-    List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
-    if (result.size() < 1) {
-      throw new RuntimeException("No older versions of Geode were found to test against");
-    } else {
-      System.out.println("running against these versions: " + result);
-    }
+  @Parameterized.Parameters(name = "From {0}")
+  public static Collection<VmConfiguration> data() {
+    List<VmConfiguration> result = VmConfigurations.upgrades();
+    assertThat(result)
+        .as("configurations to upgrade from")
+        .isNotEmpty();
+    System.out.println("upgrading from configurations: " + result);
     return result;
   }
 
   // the old version of Geode we're testing against
   @Parameterized.Parameter
-  public String oldVersion;
+  public VmConfiguration sourceVmConfiguration;
 
   @Rule
   public transient GfshCommandRule gfsh = new GfshCommandRule();
 
+  // The test name with sequences of non-region-name characters replace by hyphens
+  String getSanitizedTestName() {
+    return getName().replaceAll("[^a-zA-Z0-9-_.^`\\[\\]\\\\]+", "-");
+  }
+
   void startLocator(int port, int distributedSystemId, String locators,
       String remoteLocators) throws IOException {
     startLocator(port, distributedSystemId, locators,
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingMixedSiteOneCurrentSiteTwo.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingMixedSiteOneCurrentSiteTwo.java
index 952917fed0..6406e3f44e 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingMixedSiteOneCurrentSiteTwo.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingMixedSiteOneCurrentSiteTwo.java
@@ -36,10 +36,10 @@ public class WANRollingUpgradeEventProcessingMixedSiteOneCurrentSiteTwo
     final Host host = Host.getHost(0);
 
     // Get mixed site members
-    VM site1Locator = host.getVM(oldVersion, 0);
-    VM site1Server1 = host.getVM(oldVersion, 1);
-    VM site1Server2 = host.getVM(oldVersion, 2);
-    VM site1Client = host.getVM(oldVersion, 3);
+    VM site1Locator = host.getVM(sourceVmConfiguration, 0);
+    VM site1Server1 = host.getVM(sourceVmConfiguration, 1);
+    VM site1Server2 = host.getVM(sourceVmConfiguration, 2);
+    VM site1Client = host.getVM(sourceVmConfiguration, 3);
 
     // Get current site members
     VM site2Locator = host.getVM(VersionManager.CURRENT_VERSION, 4);
@@ -81,8 +81,9 @@ public class WANRollingUpgradeEventProcessingMixedSiteOneCurrentSiteTwo
     });
 
     // Start and configure mixed site servers
-    String regionName = getName() + "_region";
-    String site1SenderId = getName() + "_gatewaysender_" + site2DistributedSystemId;
+    String sanitizedTestName = getSanitizedTestName();
+    String regionName = sanitizedTestName + "_region";
+    String site1SenderId = sanitizedTestName + "_gatewaysender_" + site2DistributedSystemId;
     startAndConfigureServers(site1Server1, site1Server2, site1Locators, site2DistributedSystemId,
         regionName, site1SenderId, ParallelGatewaySenderQueue.DEFAULT_MESSAGE_SYNC_INTERVAL);
 
@@ -95,7 +96,7 @@ public class WANRollingUpgradeEventProcessingMixedSiteOneCurrentSiteTwo
         regionName, site1SenderId, ParallelGatewaySenderQueue.DEFAULT_MESSAGE_SYNC_INTERVAL);
 
     // Start and configure old current servers
-    String site2SenderId = getName() + "_gatewaysender_" + site1DistributedSystemId;
+    String site2SenderId = sanitizedTestName + "_gatewaysender_" + site1DistributedSystemId;
     startAndConfigureServers(site2Server1, site2Server2, site2Locators, site1DistributedSystemId,
         regionName, site2SenderId, ParallelGatewaySenderQueue.DEFAULT_MESSAGE_SYNC_INTERVAL);
 
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingMixedSiteOneOldSiteTwo.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingMixedSiteOneOldSiteTwo.java
index 39e3d0721b..bf6a5fabda 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingMixedSiteOneOldSiteTwo.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingMixedSiteOneOldSiteTwo.java
@@ -35,15 +35,15 @@ public class WANRollingUpgradeEventProcessingMixedSiteOneOldSiteTwo
     final Host host = Host.getHost(0);
 
     // Get mixed site members
-    VM site1Locator = host.getVM(oldVersion, 0);
-    VM site1Server1 = host.getVM(oldVersion, 1);
-    VM site1Server2 = host.getVM(oldVersion, 2);
-    VM site1Client = host.getVM(oldVersion, 3);
+    VM site1Locator = host.getVM(sourceVmConfiguration, 0);
+    VM site1Server1 = host.getVM(sourceVmConfiguration, 1);
+    VM site1Server2 = host.getVM(sourceVmConfiguration, 2);
+    VM site1Client = host.getVM(sourceVmConfiguration, 3);
 
     // Get old site members
-    VM site2Locator = host.getVM(oldVersion, 4);
-    VM site2Server1 = host.getVM(oldVersion, 5);
-    VM site2Server2 = host.getVM(oldVersion, 6);
+    VM site2Locator = host.getVM(sourceVmConfiguration, 4);
+    VM site2Server1 = host.getVM(sourceVmConfiguration, 5);
+    VM site2Server2 = host.getVM(sourceVmConfiguration, 6);
 
     // Get mixed site locator properties
     String hostName = NetworkUtils.getServerHostName(host);
@@ -81,8 +81,9 @@ public class WANRollingUpgradeEventProcessingMixedSiteOneOldSiteTwo
                     || InternalLocator.getLocator().isSharedConfigurationRunning())));
 
     // Start and configure mixed site servers
-    String regionName = getName() + "_region";
-    String site1SenderId = getName() + "_gatewaysender_" + site2DistributedSystemId;
+    String sanitizedTestName = getSanitizedTestName();
+    String regionName = sanitizedTestName + "_region";
+    String site1SenderId = sanitizedTestName + "_gatewaysender_" + site2DistributedSystemId;
     startAndConfigureServers(site1Server1, site1Server2, site1Locators, site2DistributedSystemId,
         regionName, site1SenderId, ParallelGatewaySenderQueue.DEFAULT_MESSAGE_SYNC_INTERVAL);
 
@@ -95,7 +96,7 @@ public class WANRollingUpgradeEventProcessingMixedSiteOneOldSiteTwo
         regionName, site1SenderId, ParallelGatewaySenderQueue.DEFAULT_MESSAGE_SYNC_INTERVAL);
 
     // Start and configure old site servers
-    String site2SenderId = getName() + "_gatewaysender_" + site1DistributedSystemId;
+    String site2SenderId = sanitizedTestName + "_gatewaysender_" + site1DistributedSystemId;
     startAndConfigureServers(site2Server1, site2Server2, site2Locators, site1DistributedSystemId,
         regionName, site2SenderId, ParallelGatewaySenderQueue.DEFAULT_MESSAGE_SYNC_INTERVAL);
 
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingOldSiteOneCurrentSiteTwo.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingOldSiteOneCurrentSiteTwo.java
index 6da36e3b4a..a9ad35d8bb 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingOldSiteOneCurrentSiteTwo.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeEventProcessingOldSiteOneCurrentSiteTwo.java
@@ -37,10 +37,10 @@ public class WANRollingUpgradeEventProcessingOldSiteOneCurrentSiteTwo
     final Host host = Host.getHost(0);
 
     // Get old site members
-    VM site1Locator = host.getVM(oldVersion, 0);
-    VM site1Server1 = host.getVM(oldVersion, 1);
-    VM site1Server2 = host.getVM(oldVersion, 2);
-    VM site1Client = host.getVM(oldVersion, 3);
+    VM site1Locator = host.getVM(sourceVmConfiguration, 0);
+    VM site1Server1 = host.getVM(sourceVmConfiguration, 1);
+    VM site1Server2 = host.getVM(sourceVmConfiguration, 2);
+    VM site1Client = host.getVM(sourceVmConfiguration, 3);
 
     // Get current site members
     VM site2Locator = host.getVM(VersionManager.CURRENT_VERSION, 4);
@@ -80,13 +80,14 @@ public class WANRollingUpgradeEventProcessingOldSiteOneCurrentSiteTwo
         site2Locators, site1Locators));
 
     // Start and configure old site servers
-    String regionName = getName() + "_region";
-    String site1SenderId = getName() + "_gatewaysender_" + site2DistributedSystemId;
+    String sanitizedTestName = getSanitizedTestName();
+    String regionName = sanitizedTestName + "_region";
+    String site1SenderId = sanitizedTestName + "_gatewaysender_" + site2DistributedSystemId;
     startAndConfigureServers(site1Server1, site1Server2, site1Locators, site2DistributedSystemId,
         regionName, site1SenderId, ParallelGatewaySenderQueue.DEFAULT_MESSAGE_SYNC_INTERVAL);
 
     // Start and configure current site servers
-    String site2SenderId = getName() + "_gatewaysender_" + site1DistributedSystemId;
+    String site2SenderId = sanitizedTestName + "_gatewaysender_" + site1DistributedSystemId;
     startAndConfigureServers(site2Server1, site2Server2, site2Locators, site1DistributedSystemId,
         regionName, site2SenderId, ParallelGatewaySenderQueue.DEFAULT_MESSAGE_SYNC_INTERVAL);
 
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeMultipleReceiversDefinedInClusterConfiguration.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeMultipleReceiversDefinedInClusterConfiguration.java
index 3cc076256e..1a58c80c57 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeMultipleReceiversDefinedInClusterConfiguration.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeMultipleReceiversDefinedInClusterConfiguration.java
@@ -15,9 +15,12 @@
 
 package org.apache.geode.cache.wan;
 
+import static java.util.stream.Collectors.toList;
 import static org.apache.geode.internal.AvailablePortHelper.getRandomAvailableTCPPort;
 import static org.apache.geode.test.awaitility.GeodeAwaitility.await;
+import static org.apache.geode.test.version.VmConfigurations.hasGeodeVersion;
 import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assumptions.assumeThat;
 
 import java.io.PrintWriter;
 import java.io.Serializable;
@@ -48,7 +51,10 @@ import org.apache.geode.test.dunit.Host;
 import org.apache.geode.test.dunit.NetworkUtils;
 import org.apache.geode.test.dunit.VM;
 import org.apache.geode.test.version.TestVersion;
+import org.apache.geode.test.version.TestVersions;
 import org.apache.geode.test.version.VersionManager;
+import org.apache.geode.test.version.VmConfiguration;
+import org.apache.geode.test.version.VmConfigurations;
 
 public class WANRollingUpgradeMultipleReceiversDefinedInClusterConfiguration
     extends WANRollingUpgradeDUnitTest {
@@ -65,11 +71,11 @@ public class WANRollingUpgradeMultipleReceiversDefinedInClusterConfiguration
   @Parameterized.Parameters(name = "from_v{0}; attributes={1}; expectedReceiverCount={2}")
   public static Collection data() {
     // Get initial versions to test against
-    List<String> versions = getVersionsToTest();
+    List<VmConfiguration> configurations = getConfigurationsToTest();
 
     // Build up a list of version->attributes->expectedReceivers
     List<Object[]> result = new ArrayList<>();
-    versions.forEach(version -> {
+    configurations.forEach(version -> {
       // Add a case for hostname-for-senders
       addReceiversWithHostNameForSenders(result, version);
 
@@ -91,58 +97,61 @@ public class WANRollingUpgradeMultipleReceiversDefinedInClusterConfiguration
     return result;
   }
 
-  private static List<String> getVersionsToTest() {
+  private static List<VmConfiguration> getConfigurationsToTest() {
     // There is no need to test old versions beyond 130. Individual member configuration is not
     // saved in cluster configuration and multiple receivers are not supported starting in 140.
     // Note: This comparison works because '130' < '140'.
-    List<String> result = VersionManager.getInstance().getVersionsWithoutCurrent();
-    result.removeIf(version -> (TestVersion.compare(version, "1.4.0") >= 0));
-    if (result.size() < 1) {
-      throw new RuntimeException("No older versions of Geode were found to test against");
-    }
-    return result;
+    List<VmConfiguration> oldConfigurations = VmConfigurations.upgrades().stream()
+        .filter(hasGeodeVersion(TestVersions.lessThan(TestVersion.valueOf("1.4.0"))))
+        .collect(toList());
+    assumeThat(oldConfigurations)
+        .as("old configurations")
+        .isNotEmpty();
+    return oldConfigurations;
   }
 
-  private static void addReceiversWithHostNameForSenders(List<Object[]> result, String version) {
+  private static void addReceiversWithHostNameForSenders(List<Object[]> result,
+      VmConfiguration vmConfiguration) {
     List<Attribute> attributes = new ArrayList<>();
     attributes.add(new Attribute("hostname-for-senders", "121.21.21.21"));
     attributes.add(new Attribute("hostname-for-senders", "121.21.21.22"));
-    result.add(new Object[] {version, attributes, 2, 0});
+    result.add(new Object[] {vmConfiguration, attributes, 2, 0});
   }
 
-  private static void addReceiversWithBindAddresses(List<Object[]> result, String version) {
+  private static void addReceiversWithBindAddresses(List<Object[]> result,
+      VmConfiguration vmConfiguration) {
     List<Attribute> attributes = new ArrayList<>();
     attributes.add(new Attribute("bind-address", "121.21.21.21"));
     attributes.add(new Attribute("bind-address", "121.21.21.22"));
-    result.add(new Object[] {version, attributes, 2, 0});
+    result.add(new Object[] {vmConfiguration, attributes, 2, 0});
   }
 
   private static void addMultipleReceiversWithDefaultAttributes(List<Object[]> result,
-      String version) {
+      VmConfiguration vmConfiguration) {
     List<Attribute> attributes = new ArrayList<>();
     attributes.add(Attribute.DEFAULT);
     attributes.add(Attribute.DEFAULT);
-    result.add(new Object[] {version, attributes, 2, 1});
+    result.add(new Object[] {vmConfiguration, attributes, 2, 1});
   }
 
   private static void addSingleReceiverWithDefaultAttributes(List<Object[]> result,
-      String version) {
+      VmConfiguration vmConfiguration) {
     List<Attribute> attributes = new ArrayList<>();
     attributes.add(Attribute.DEFAULT);
-    result.add(new Object[] {version, attributes, 1, 1});
+    result.add(new Object[] {vmConfiguration, attributes, 1, 1});
   }
 
   private static void addSingleReceiverWithDefaultBindAddress(List<Object[]> result,
-      String version) {
+      VmConfiguration configuration) {
     List<Attribute> attributes = new ArrayList<>();
     attributes.add(new Attribute("bind-address", "0.0.0.0"));
-    result.add(new Object[] {version, attributes, 1, 1});
+    result.add(new Object[] {configuration, attributes, 1, 1});
   }
 
   @Test
   public void testMultipleReceiversRemovedDuringRoll() {
     // Get old locator properties
-    VM locator = Host.getHost(0).getVM(oldVersion, 0);
+    VM locator = Host.getHost(0).getVM(sourceVmConfiguration, 0);
     String hostName = NetworkUtils.getServerHostName();
     final int locatorPort = getRandomAvailableTCPPort();
 
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeNewSenderProcessOldEvent.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeNewSenderProcessOldEvent.java
index 00ac9f6f47..23cb180505 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeNewSenderProcessOldEvent.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeNewSenderProcessOldEvent.java
@@ -60,15 +60,15 @@ public class WANRollingUpgradeNewSenderProcessOldEvent
   @Before
   public void prepare() {
     // Get mixed site members
-    site1Locator = host.getVM(oldVersion, 0);
-    site1Server1 = host.getVM(oldVersion, 1);
-    site1Server2 = host.getVM(oldVersion, 2);
-    site1Client = host.getVM(oldVersion, 3);
+    site1Locator = host.getVM(sourceVmConfiguration, 0);
+    site1Server1 = host.getVM(sourceVmConfiguration, 1);
+    site1Server2 = host.getVM(sourceVmConfiguration, 2);
+    site1Client = host.getVM(sourceVmConfiguration, 3);
 
     // Get old site members
-    site2Locator = host.getVM(oldVersion, 4);
-    site2Server1 = host.getVM(oldVersion, 5);
-    site2Server2 = host.getVM(oldVersion, 6);
+    site2Locator = host.getVM(sourceVmConfiguration, 4);
+    site2Server1 = host.getVM(sourceVmConfiguration, 5);
+    site2Server2 = host.getVM(sourceVmConfiguration, 6);
 
     // Get mixed site locator properties
     String hostName = NetworkUtils.getServerHostName(host);
@@ -104,12 +104,13 @@ public class WANRollingUpgradeNewSenderProcessOldEvent
                     || InternalLocator.getLocator().isSharedConfigurationRunning())));
 
     // Start and configure mixed site servers
-    regionName = getName() + "_region";
-    site1SenderId = getName() + "_gatewaysender_" + site2DistributedSystemId;
+    String sanitizedTestName = getSanitizedTestName();
+    regionName = sanitizedTestName + "_region";
+    site1SenderId = sanitizedTestName + "_gatewaysender_" + site2DistributedSystemId;
     startAndConfigureServers(site1Server1, site1Server2, site1Locators, site2DistributedSystemId,
         regionName, site1SenderId, ParallelGatewaySenderQueue.DEFAULT_MESSAGE_SYNC_INTERVAL);
 
-    site2SenderId = getName() + "_gatewaysender_" + site1DistributedSystemId;
+    site2SenderId = sanitizedTestName + "_gatewaysender_" + site1DistributedSystemId;
 
     // pause the senders at mixed site
     site1Server1.invoke(() -> pauseSender(site1SenderId));
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMemberFailover.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMemberFailover.java
index 4a880c815c..ba62ef064a 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMemberFailover.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMemberFailover.java
@@ -34,9 +34,9 @@ public class WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMembe
     final Host host = Host.getHost(0);
 
     // Get old site members
-    VM site1Locator = host.getVM(oldVersion, 0);
-    VM site1Server1 = host.getVM(oldVersion, 1);
-    VM site1Server2 = host.getVM(oldVersion, 2);
+    VM site1Locator = host.getVM(sourceVmConfiguration, 0);
+    VM site1Server1 = host.getVM(sourceVmConfiguration, 1);
+    VM site1Server2 = host.getVM(sourceVmConfiguration, 2);
 
     // Get current site members
     VM site2Locator = host.getVM(VersionManager.CURRENT_VERSION, 4);
@@ -77,13 +77,14 @@ public class WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMembe
 
     try {
       // Start and configure old site servers with secondary removals prevented
-      String regionName = getName() + "_region";
-      String site1SenderId = getName() + "_gatewaysender_" + site2DistributedSystemId;
+      String sanitizedTestName = getSanitizedTestName();
+      String regionName = sanitizedTestName + "_region";
+      String site1SenderId = sanitizedTestName + "_gatewaysender_" + site2DistributedSystemId;
       startAndConfigureServers(site1Server1, site1Server2, site1Locators, site2DistributedSystemId,
           regionName, site1SenderId, Integer.MAX_VALUE);
 
       // Start and configure current site servers with secondary removals prevented
-      String site2SenderId = getName() + "_gatewaysender_" + site1DistributedSystemId;
+      String site2SenderId = sanitizedTestName + "_gatewaysender_" + site1DistributedSystemId;
       startAndConfigureServers(site2Server1, site2Server2, site2Locators, site1DistributedSystemId,
           regionName, site2SenderId, Integer.MAX_VALUE);
 
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMemberFailoverWithOldClient.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMemberFailoverWithOldClient.java
index 6968d1895d..0931f466bf 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMemberFailoverWithOldClient.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMemberFailoverWithOldClient.java
@@ -35,10 +35,10 @@ public class WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMembe
     final Host host = Host.getHost(0);
 
     // Get old site members
-    VM site1Locator = host.getVM(oldVersion, 0);
-    VM site1Server1 = host.getVM(oldVersion, 1);
-    VM site1Server2 = host.getVM(oldVersion, 2);
-    VM site1Client = host.getVM(oldVersion, 3);
+    VM site1Locator = host.getVM(sourceVmConfiguration, 0);
+    VM site1Server1 = host.getVM(sourceVmConfiguration, 1);
+    VM site1Server2 = host.getVM(sourceVmConfiguration, 2);
+    VM site1Client = host.getVM(sourceVmConfiguration, 3);
 
     // Get current site members
     VM site2Locator = host.getVM(VersionManager.CURRENT_VERSION, 4);
@@ -78,13 +78,14 @@ public class WANRollingUpgradeSecondaryEventsNotReprocessedAfterCurrentSiteMembe
 
     try {
       // Start and configure old site servers with secondary removals prevented
-      String regionName = getName() + "_region";
-      String site1SenderId = getName() + "_gatewaysender_" + site2DistributedSystemId;
+      String sanitizedTestName = getSanitizedTestName();
+      String regionName = sanitizedTestName + "_region";
+      String site1SenderId = sanitizedTestName + "_gatewaysender_" + site2DistributedSystemId;
       startAndConfigureServers(site1Server1, site1Server2, site1Locators, site2DistributedSystemId,
           regionName, site1SenderId, Integer.MAX_VALUE);
 
       // Start and configure current site servers with secondary removals prevented
-      String site2SenderId = getName() + "_gatewaysender_" + site1DistributedSystemId;
+      String site2SenderId = sanitizedTestName + "_gatewaysender_" + site1DistributedSystemId;
       startAndConfigureServers(site2Server1, site2Server2, site2Locators, site1DistributedSystemId,
           regionName, site2SenderId, Integer.MAX_VALUE);
 
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterOldSiteMemberFailover.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterOldSiteMemberFailover.java
index f25397806a..14e8d3f87e 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterOldSiteMemberFailover.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeSecondaryEventsNotReprocessedAfterOldSiteMemberFailover.java
@@ -34,10 +34,10 @@ public class WANRollingUpgradeSecondaryEventsNotReprocessedAfterOldSiteMemberFai
     final Host host = Host.getHost(0);
 
     // Get old site members
-    VM site1Locator = host.getVM(oldVersion, 0);
-    VM site1Server1 = host.getVM(oldVersion, 1);
-    VM site1Server2 = host.getVM(oldVersion, 2);
-    VM site1Client = host.getVM(oldVersion, 3);
+    VM site1Locator = host.getVM(sourceVmConfiguration, 0);
+    VM site1Server1 = host.getVM(sourceVmConfiguration, 1);
+    VM site1Server2 = host.getVM(sourceVmConfiguration, 2);
+    VM site1Client = host.getVM(sourceVmConfiguration, 3);
 
     // Get current site members
     VM site2Locator = host.getVM(VersionManager.CURRENT_VERSION, 4);
@@ -77,13 +77,14 @@ public class WANRollingUpgradeSecondaryEventsNotReprocessedAfterOldSiteMemberFai
 
     try {
       // Start and configure old site servers with secondary removals prevented
-      String regionName = getName() + "_region";
-      String site1SenderId = getName() + "_gatewaysender_" + site2DistributedSystemId;
+      String sanitizedTestName = getSanitizedTestName();
+      String regionName = sanitizedTestName + "_region";
+      String site1SenderId = sanitizedTestName + "_gatewaysender_" + site2DistributedSystemId;
       startAndConfigureServers(site1Server1, site1Server2, site1Locators, site2DistributedSystemId,
           regionName, site1SenderId, Integer.MAX_VALUE);
 
       // Start and configure current site servers with secondary removals prevented
-      String site2SenderId = getName() + "_gatewaysender_" + site1DistributedSystemId;
+      String site2SenderId = sanitizedTestName + "_gatewaysender_" + site1DistributedSystemId;
       startAndConfigureServers(site2Server1, site2Server2, site2Locators, site1DistributedSystemId,
           regionName, site2SenderId, Integer.MAX_VALUE);
 
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeVerifyGatewayReceiverDoesNotSendRemoveCacheServerProfileToMembersOlderThan1dot5.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeVerifyGatewayReceiverDoesNotSendRemoveCacheServerProfileToMembersOlderThan1dot5.java
index 1dfcc28cc8..5fdec2166d 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeVerifyGatewayReceiverDoesNotSendRemoveCacheServerProfileToMembersOlderThan1dot5.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeVerifyGatewayReceiverDoesNotSendRemoveCacheServerProfileToMembersOlderThan1dot5.java
@@ -34,8 +34,8 @@ public class WANRollingUpgradeVerifyGatewayReceiverDoesNotSendRemoveCacheServerP
   @Test
   public void VerifyGatewayReceiverDoesNotSendRemoveCacheServerProfileToMembersOlderThan1dot5() {
     final Host host = Host.getHost(0);
-    VM oldLocator = host.getVM(oldVersion, 0);
-    VM oldServer = host.getVM(oldVersion, 1);
+    VM oldLocator = host.getVM(sourceVmConfiguration, 0);
+    VM oldServer = host.getVM(sourceVmConfiguration, 1);
     VM currentServer = host.getVM(VersionManager.CURRENT_VERSION, 2);
 
     // Start locator
diff --git a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeVerifyGatewaySenderProfile.java b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeVerifyGatewaySenderProfile.java
index e7c328c674..5ba7dc8383 100644
--- a/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeVerifyGatewaySenderProfile.java
+++ b/geode-wan/src/upgradeTest/java/org/apache/geode/cache/wan/WANRollingUpgradeVerifyGatewaySenderProfile.java
@@ -34,8 +34,8 @@ public class WANRollingUpgradeVerifyGatewaySenderProfile extends WANRollingUpgra
   // This test verifies that a GatewaySenderProfile serializes properly between versions new to old.
   public void testVerifyGatewaySenderProfile() {
     final Host host = Host.getHost(0);
-    VM oldLocator = host.getVM(oldVersion, 0);
-    VM oldServer = host.getVM(oldVersion, 1);
+    VM oldLocator = host.getVM(sourceVmConfiguration, 0);
+    VM oldServer = host.getVM(sourceVmConfiguration, 1);
     VM currentServer = host.getVM(VersionManager.CURRENT_VERSION, 2);
 
     // Start locator
@@ -59,7 +59,7 @@ public class WANRollingUpgradeVerifyGatewaySenderProfile extends WANRollingUpgra
                       || InternalLocator.getLocator().isSharedConfigurationRunning())));
 
       // Create GatewaySender in old server
-      String senderId = getName() + "_gatewaysender";
+      String senderId = getSanitizedTestName() + "_gatewaysender";
       oldServer.invoke(() -> createGatewaySender(senderId, 10,
           ParallelGatewaySenderQueue.DEFAULT_MESSAGE_SYNC_INTERVAL));
 
@@ -78,8 +78,8 @@ public class WANRollingUpgradeVerifyGatewaySenderProfile extends WANRollingUpgra
   // This test verifies that a GatewaySenderProfile serializes properly between versions old to new.
   public void testOldServerCanUnderstandNewGatewaySenderProfile() {
 
-    VM oldLocator = VM.getVM(oldVersion, 0);
-    VM oldServer = VM.getVM(oldVersion, 1);
+    VM oldLocator = VM.getVM(sourceVmConfiguration, 0);
+    VM oldServer = VM.getVM(sourceVmConfiguration, 1);
     VM currentServer = VM.getVM(VersionManager.CURRENT_VERSION, 2);
 
     // Start locator
@@ -91,7 +91,7 @@ public class WANRollingUpgradeVerifyGatewaySenderProfile extends WANRollingUpgra
     IgnoredException ie =
         IgnoredException.addIgnoredException("could not get remote locator information");
     try {
-      String senderId = getName() + "_gatewaysender";
+      String senderId = getSanitizedTestName() + "_gatewaysender";
 
       // Start current server
       currentServer.invoke(() -> createCache(locators));