summaryrefslogtreecommitdiff
path: root/jstests/replsets
diff options
context:
space:
mode:
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);