diff options
Diffstat (limited to 'jstests/auth/repl.js')
-rw-r--r-- | jstests/auth/repl.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/auth/repl.js b/jstests/auth/repl.js index d581d7f633e..3dfd01df6f5 100644 --- a/jstests/auth/repl.js +++ b/jstests/auth/repl.js @@ -236,8 +236,7 @@ slave = rt.start(false, mongoOptions, true); var masterDB = master.getDB("admin"); // ensure that master/slave replication is up and running -masterDB.foo.save({}); -masterDB.runCommand({getLastError: 1, w: 2, wtimeout: 5000}); +masterDB.foo.save({}, { writeConcern: { w: 2, wtimeout: 5000 }}); masterDB.foo.drop(); authReplTest = AuthReplTest({ |