0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/jstests/multiVersion/genericSetFCVUsage/rollback_latest_to_downgraded.js

17 lines
638 B
JavaScript

/**
* Multiversion rollback test. Checks that rollback succeeds between a
* 'latest' version rollback node and a downgraded version sync source.
*/
(function() {
"use strict";
load("jstests/multiVersion/libs/multiversion_rollback.js");
var testName = "multiversion_rollback_latest_to_last_lts";
jsTestLog("Testing multiversion rollback from latest to last-lts");
testMultiversionRollback(testName, "latest", "last-lts");
var testName = "multiversion_rollback_latest_to_last_continuous";
jsTestLog("Testing multiversion rollback from latest to last-continuous");
testMultiversionRollback(testName, "latest", "last-continuous");
})();