summaryrefslogtreecommitdiff
path: root/jstests/auth/profile_access.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/auth/profile_access.js')
-rw-r--r--jstests/auth/profile_access.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/auth/profile_access.js b/jstests/auth/profile_access.js
index e7090ef3b0d..b4b9afcec34 100644
--- a/jstests/auth/profile_access.js
+++ b/jstests/auth/profile_access.js
@@ -37,4 +37,5 @@ testDb.logout();
testDb.auth('dbAdminAnyDBUser', 'password');
testDb.setProfilingLevel(0);
testDb.system.profile.drop();
-assert.commandWorked(testDb.createCollection("system.profile", {capped: true, size: 1024})); \ No newline at end of file
+assert.commandWorked(testDb.createCollection("system.profile", {capped: true, size: 1024}));
+MongoRunner.stopMongod(conn, null, {user: 'admin', pwd: 'password'});