From 8a805598bbcb2ac20c345e0734c9fbd4c4722cb0 Mon Sep 17 00:00:00 2001 From: Adam Midvidy Date: Thu, 26 Mar 2015 10:03:29 -0400 Subject: SERVER-7775 refactor fsyncUnlock to execute through standard command path --- jstests/replsets/stepdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jstests/replsets/stepdown.js') 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}); -- cgit v1.2.1