summaryrefslogtreecommitdiff
path: root/jstests/auth/kill_sessions.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/auth/kill_sessions.js')
-rw-r--r--jstests/auth/kill_sessions.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/jstests/auth/kill_sessions.js b/jstests/auth/kill_sessions.js
index f32a69ae2e8..99ddc51296f 100644
--- a/jstests/auth/kill_sessions.js
+++ b/jstests/auth/kill_sessions.js
@@ -1,17 +1,17 @@
load("jstests/libs/kill_sessions.js");
(function() {
- 'use strict';
+'use strict';
- // TODO SERVER-35447: This test involves killing all sessions, which will not work as expected
- // if the kill command is sent with an implicit session.
- TestData.disableImplicitSessions = true;
+// TODO SERVER-35447: This test involves killing all sessions, which will not work as expected
+// if the kill command is sent with an implicit session.
+TestData.disableImplicitSessions = true;
- var forExec = MongoRunner.runMongod({auth: ""});
- var forKill = new Mongo(forExec.host);
- var forVerify = new Mongo(forExec.host);
- KillSessionsTestHelper.initializeAuth(forExec);
- forVerify.getDB("admin").auth("super", "password");
- KillSessionsTestHelper.runAuth(forExec, forKill, [forVerify]);
- MongoRunner.stopMongod(forExec);
+var forExec = MongoRunner.runMongod({auth: ""});
+var forKill = new Mongo(forExec.host);
+var forVerify = new Mongo(forExec.host);
+KillSessionsTestHelper.initializeAuth(forExec);
+forVerify.getDB("admin").auth("super", "password");
+KillSessionsTestHelper.runAuth(forExec, forKill, [forVerify]);
+MongoRunner.stopMongod(forExec);
})();