summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorIan Whalen <ian.whalen@gmail.com>2017-11-02 23:13:40 -0400
committerIan Whalen <ian.whalen@gmail.com>2017-11-02 23:13:40 -0400
commitbbbafc93ab4ab5b36c8f297a158cd218ab0638f9 (patch)
tree0ab379c213bc943a25234f4d1b0f0525a1d0a5db /jstests
parente66875edd77f39a975ab0c11a13a1a4481d1da94 (diff)
downloadmongo-bbbafc93ab4ab5b36c8f297a158cd218ab0638f9.tar.gz
Revert "SERVER-31565 Add stats about logical sessions background jobs to serverStatus"
This reverts commit 7cd8508b06e1574bea211dff054855b70b7cc20e.
Diffstat (limited to 'jstests')
-rw-r--r--jstests/noPassthrough/start_session_command.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/start_session_command.js b/jstests/noPassthrough/start_session_command.js
index 4564cf5ab54..ce344d18e19 100644
--- a/jstests/noPassthrough/start_session_command.js
+++ b/jstests/noPassthrough/start_session_command.js
@@ -11,7 +11,7 @@
// ensure that the cache is empty
var serverStatus = assert.commandWorked(admin.adminCommand({serverStatus: 1}));
- assert.eq(0, serverStatus.logicalSessionRecordCache.activeSessionsCount);
+ assert.eq(0, serverStatus.logicalSessionRecordCache.records);
// test that we can run startSession unauthenticated when the server is running without --auth
@@ -25,7 +25,7 @@
// test that startSession added to the cache
serverStatus = assert.commandWorked(admin.adminCommand({serverStatus: 1}));
- assert.eq(1, serverStatus.logicalSessionRecordCache.activeSessionsCount);
+ assert.eq(1, serverStatus.logicalSessionRecordCache.records);
// test that we can run startSession authenticated when the server is running without --auth