diff options
author | Adam Midvidy <amidvidy@gmail.com> | 2015-03-24 10:45:04 -0400 |
---|---|---|
committer | Adam Midvidy <amidvidy@gmail.com> | 2015-03-25 15:00:03 -0400 |
commit | 5c48ea0d3fd6556eb0ba7686a9da6159f0814d08 (patch) | |
tree | 6c32840fcf8d45a4ee70adf419ca2bb7390171c2 /jstests/replsets/stepdown.js | |
parent | bbe95e94bc7231a0b06c395a52c6575d7d23e03e (diff) | |
download | mongo-5c48ea0d3fd6556eb0ba7686a9da6159f0814d08.tar.gz |
SERVER-7775 refactor fsyncUnlock to execute through standard command path
Diffstat (limited to 'jstests/replsets/stepdown.js')
-rw-r--r-- | jstests/replsets/stepdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/stepdown.js b/jstests/replsets/stepdown.js index 474154ae6ef..275d7726d40 100644 --- a/jstests/replsets/stepdown.js +++ b/jstests/replsets/stepdown.js @@ -53,7 +53,7 @@ assert.eq(r2.ismaster, false); assert.eq(r2.secondary, true); print("\nunlock"); -printjson(locked.getDB("admin").$cmd.sys.unlock.findOne()); +printjson(locked.getDB("admin").fsyncUnlock()); print("\nreset stepped down time"); master.getDB("admin").runCommand({replSetFreeze:0}); |