0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

SERVER-31311 wait for fcv3.6 before testing in kill_sessions.js

This commit is contained in:
Gabriel Russell 2017-09-28 19:55:20 +00:00
parent eeb0fa4585
commit 80a01240a1

View File

@ -37,6 +37,12 @@ load("jstests/libs/kill_sessions.js");
host.getDB("local").auth("__system", "foopdedoop");
}
hosts.push(host);
assert.soon(function() {
var fcv = host.getDB("admin").runCommand(
{getParameter: 1, featureCompatibilityVersion: 1});
return fcv["ok"] && fcv["featureCompatibilityVersion"] != "3.4";
});
}
var args = [forExec, forKill, hosts];