diff options
author | samantharitter <samantha.ritter@10gen.com> | 2017-09-19 18:19:35 -0400 |
---|---|---|
committer | samantharitter <samantha.ritter@10gen.com> | 2017-09-22 12:02:25 -0400 |
commit | ba1704f7cbc0b9a03a181df145f75f433a59b7df (patch) | |
tree | d4374049d51514a554fa1d101661d054d0ac654d /jstests/noPassthrough/verify_session_cache_updates.js | |
parent | d90e9a13a515a2c408b58ed0fad60a327ac7d3b7 (diff) | |
download | mongo-ba1704f7cbc0b9a03a181df145f75f433a59b7df.tar.gz |
SERVER-31174 Move the sessions collection to config.system.sessions
Diffstat (limited to 'jstests/noPassthrough/verify_session_cache_updates.js')
-rw-r--r-- | jstests/noPassthrough/verify_session_cache_updates.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/verify_session_cache_updates.js b/jstests/noPassthrough/verify_session_cache_updates.js index e9912144e6f..e2d51bd27e5 100644 --- a/jstests/noPassthrough/verify_session_cache_updates.js +++ b/jstests/noPassthrough/verify_session_cache_updates.js @@ -8,12 +8,12 @@ function verify(conn, nRecords) { conn.getDB("admin").runCommand({refreshLogicalSessionCacheNow: 1}); - assert.eq(nRecords, conn.getDB("admin").system.sessions.find({}).count()); + assert.eq(nRecords, conn.getDB("config").system.sessions.find({}).count()); } function getLastUse(conn) { conn.getDB("admin").runCommand({refreshLogicalSessionCacheNow: 1}); - return conn.getDB("admin").system.sessions.findOne({}).lastUse; + return conn.getDB("config").system.sessions.findOne({}).lastUse; } // initially we have no sessions |