SERVER-117252: Remove 6.0 from multiversion testing (#46530)

GitOrigin-RevId: cd0392f4397e6971bd5b6afcc6a05735ea4f0f49
This commit is contained in:
Steve McClure 2026-01-20 10:49:17 -05:00 committed by MongoDB Bot
parent 7e3e035146
commit 24e414b254
4 changed files with 9 additions and 17 deletions

View File

@ -38,7 +38,7 @@ local_args="--edition $edition \
--debug \
--fallbackToMaster \
${last_lts_arg} \
${last_continuous_arg} 6.0 7.0 8.0.16"
${last_continuous_arg} 7.0 8.0.16"
remote_invocation="${base_command} ${evergreen_args} ${local_args}"
eval "${remote_invocation}"

View File

@ -15,6 +15,7 @@
* @tags: [requires_v4_0]
*/
import {allLtsVersions} from "jstests/multiVersion/libs/lts_versions.js";
import {IndexCatalogHelpers} from "jstests/libs/index_catalog_helpers.js";
const dbpath = MongoRunner.dataPath + "skip_level_upgrade";
@ -36,7 +37,10 @@ const defaultOptions = {
// format, which older versions don't understand. This requires manual intervention for the user to
// revert the database back to the older version. (See WT-12869 and WT-10307 for details). That's
// the reason this test will test from 6.0+.
const versions = [{binVersion: "6.0", testCollection: "six_zero"}];
const versions = allLtsVersions.filter((v) => {
// Only include LTS versions that would be skip-level upgrades to the current version
return MongoRunner.compareBinVersions(v.binVersion, lastLTSFCV) < 0;
});
// Iterate through versions specified in the versions list, and follow the steps outlined at
// the top of this test file.

View File

@ -14,6 +14,7 @@
import "jstests/multiVersion/libs/multi_rs.js";
import "jstests/multiVersion/libs/verify_versions.js";
import {allLtsVersions} from "jstests/multiVersion/libs/lts_versions.js";
import {IndexCatalogHelpers} from "jstests/libs/index_catalog_helpers.js";
import {ReplSetTest} from "jstests/libs/replsettest.js";
@ -27,20 +28,7 @@ const defaultOptions = {
noCleanData: true,
};
// This lists all supported releases and needs to be kept up to date as versions are added and
// dropped.
// TODO SERVER-76166: Programmatically generate list of LTS versions.
const versions = [
{binVersion: "6.0", featureCompatibilityVersion: "6.0", testCollection: "six_zero"},
{binVersion: "7.0", featureCompatibilityVersion: "7.0", testCollection: "seven_zero"},
{binVersion: "last-lts", featureCompatibilityVersion: lastLTSFCV, testCollection: "last_lts"},
{
binVersion: "last-continuous",
featureCompatibilityVersion: lastContinuousFCV,
testCollection: "last_continuous",
},
{binVersion: "latest", featureCompatibilityVersion: latestFCV, testCollection: "latest"},
];
const versions = allLtsVersions;
// Standalone
// Iterate from earliest to latest versions specified in the versions list, and follow the steps

View File

@ -2,8 +2,8 @@
// dropped.
// TODO SERVER-76166: Programmatically generate list of LTS versions.
export const allLtsVersions = [
{binVersion: "6.0", featureCompatibilityVersion: "6.0", testCollection: "six_zero"},
{binVersion: "7.0", featureCompatibilityVersion: "7.0", testCollection: "seven_zero"},
{binVersion: "8.0", featureCompatibilityVersion: "8.0", testCollection: "eight_zero"},
{binVersion: "last-lts", featureCompatibilityVersion: lastLTSFCV, testCollection: "last_lts"},
{
binVersion: "last-continuous",