summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
Diffstat (limited to 'jstests')
-rw-r--r--jstests/replsets/auth3.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/replsets/auth3.js b/jstests/replsets/auth3.js
index b15edf448d5..4af654854a1 100644
--- a/jstests/replsets/auth3.js
+++ b/jstests/replsets/auth3.js
@@ -8,6 +8,7 @@ rs.initiate();
master = rs.getMaster();
print("adding user");
master.getDB("admin").addUser("foo", "bar");
+master.getDB("admin").runCommand({getLastError:1, w:2});
var checkValidState = function(i) {
assert.soon(function() {