diff options
Diffstat (limited to 'jstests/libs/kill_sessions.js')
-rw-r--r-- | jstests/libs/kill_sessions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/libs/kill_sessions.js b/jstests/libs/kill_sessions.js index b3d6e9dec56..ca833d1f929 100644 --- a/jstests/libs/kill_sessions.js +++ b/jstests/libs/kill_sessions.js @@ -212,7 +212,7 @@ var _kill_sessions_api_module = (function() { } CursorHandle.prototype.getLsid = function() { - return this._session._serverSession._id; + return this._session._serverSession.handle.getId(); }; CursorHandle.prototype.join = function() { @@ -661,7 +661,7 @@ var _kill_sessions_api_module = (function() { var session = fixture._clientToExecuteVia.startSession(); var obj = {}; - obj[cmd] = [session._serverSession._id].map(genArg(execUserCred)); + obj[cmd] = [session._serverSession.handle.getId()].map(genArg(execUserCred)); fixture.assertKillFailed("admin", obj); session.endSession(); }, |