summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/transaction_reaper.js
diff options
context:
space:
mode:
authorsamantharitter <samantha.ritter@10gen.com>2017-09-19 18:19:35 -0400
committersamantharitter <samantha.ritter@10gen.com>2017-09-25 10:32:55 -0400
commitf007ee07aebecd5371c38388423b05cd82ef02a2 (patch)
tree50c5ab6034ed22e95d690c37e5e8bd06dbba5ca9 /jstests/noPassthrough/transaction_reaper.js
parent1b549500669e8b2b2f7846aa5867f00b849ebd21 (diff)
downloadmongo-f007ee07aebecd5371c38388423b05cd82ef02a2.tar.gz
SERVER-31174 Move the sessions collection to config.system.sessions
Diffstat (limited to 'jstests/noPassthrough/transaction_reaper.js')
-rw-r--r--jstests/noPassthrough/transaction_reaper.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/noPassthrough/transaction_reaper.js b/jstests/noPassthrough/transaction_reaper.js
index c9a9e992cb2..8fbaae0aed0 100644
--- a/jstests/noPassthrough/transaction_reaper.js
+++ b/jstests/noPassthrough/transaction_reaper.js
@@ -92,7 +92,7 @@
};
Fixture.prototype.assertOutstandingSessions = function(count) {
- assert.eq(count, this.getDB("admin").system.sessions.count());
+ assert.eq(count, this.getDB("config").system.sessions.count());
};
Fixture.prototype.refresh = function() {
@@ -119,7 +119,7 @@
{
var fixture = new Fixture(new Impl(-1));
// Remove a session
- fixture.getDB("admin").system.sessions.remove({});
+ fixture.getDB("config").system.sessions.remove({});
fixture.assertOutstandingTransactions(nSessions);
fixture.assertOutstandingSessions(0);
@@ -134,7 +134,7 @@
{
var fixture = new Fixture(new Impl(30));
// Remove a session
- fixture.getDB("admin").system.sessions.remove({});
+ fixture.getDB("config").system.sessions.remove({});
fixture.assertOutstandingTransactions(nSessions);
fixture.assertOutstandingSessions(0);