summaryrefslogtreecommitdiff
path: root/jstests/replsets/stepdown3.js
diff options
context:
space:
mode:
authorAdam Midvidy <amidvidy@gmail.com>2015-03-26 10:03:29 -0400
committerAdam Midvidy <amidvidy@gmail.com>2015-03-26 14:20:38 -0400
commit8a805598bbcb2ac20c345e0734c9fbd4c4722cb0 (patch)
tree4aebb32c235232b931c705bbd9e6c86f27162ff4 /jstests/replsets/stepdown3.js
parent78005d5702732d841119ff2628d5675a5049335c (diff)
downloadmongo-8a805598bbcb2ac20c345e0734c9fbd4c4722cb0.tar.gz
SERVER-7775 refactor fsyncUnlock to execute through standard command path
Diffstat (limited to 'jstests/replsets/stepdown3.js')
-rw-r--r--jstests/replsets/stepdown3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/stepdown3.js b/jstests/replsets/stepdown3.js
index af7f84607b7..05ce573c883 100644
--- a/jstests/replsets/stepdown3.js
+++ b/jstests/replsets/stepdown3.js
@@ -46,5 +46,5 @@ print("result of gle:");
printjson(result);
// unlock and shut down
-printjson(locked.getDB("admin").$cmd.sys.unlock.findOne());
+printjson(locked.getDB("admin").fsyncUnlock());
replTest.stopSet();