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:
parent
eeb0fa4585
commit
80a01240a1
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user