summaryrefslogtreecommitdiff
path: root/jstests/replsets
diff options
context:
space:
mode:
authorMaria van Keulen <maria@mongodb.com>2018-01-10 17:25:17 -0500
committerMaria van Keulen <maria@mongodb.com>2018-02-09 16:06:18 -0500
commit72fc7cea722f952e3ad47c5470cb60ae2114097f (patch)
tree5515d82ed702e8153d61c32844f2a8fc977ca5ea /jstests/replsets
parente28c2f4732e490ed8efa6148d20d889dfd603028 (diff)
downloadmongo-72fc7cea722f952e3ad47c5470cb60ae2114097f.tar.gz
SERVER-32205 Prohibit dropping the admin database at catalog level
Diffstat (limited to 'jstests/replsets')
-rw-r--r--jstests/replsets/drop_oplog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/drop_oplog.js b/jstests/replsets/drop_oplog.js
index a221a1d20dd..2ba8dc44c72 100644
--- a/jstests/replsets/drop_oplog.js
+++ b/jstests/replsets/drop_oplog.js
@@ -22,7 +22,7 @@
let adminDB = master.getDB('admin');
dropOutput = adminDB.dropDatabase();
assert.eq(dropOutput.ok, 0);
- assert.eq(dropOutput.errmsg, "Cannot drop 'admin' database while replication is active");
+ assert.eq(dropOutput.errmsg, "Dropping the 'admin' database is prohibited.");
let renameOutput = localDB.oplog.rs.renameCollection("poison");
assert.eq(renameOutput.ok, 0);