summaryrefslogtreecommitdiff
path: root/jstests/replsets/maxSyncSourceLagSecs.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/maxSyncSourceLagSecs.js
parent78005d5702732d841119ff2628d5675a5049335c (diff)
downloadmongo-8a805598bbcb2ac20c345e0734c9fbd4c4722cb0.tar.gz
SERVER-7775 refactor fsyncUnlock to execute through standard command path
Diffstat (limited to 'jstests/replsets/maxSyncSourceLagSecs.js')
-rw-r--r--jstests/replsets/maxSyncSourceLagSecs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/maxSyncSourceLagSecs.js b/jstests/replsets/maxSyncSourceLagSecs.js
index 8d4702510e1..1a7348c2e64 100644
--- a/jstests/replsets/maxSyncSourceLagSecs.js
+++ b/jstests/replsets/maxSyncSourceLagSecs.js
@@ -44,6 +44,6 @@
return (slaves[1].getDB("foo").bar.count() === 2);
}, "slave should have caught up after syncing to primary.");
- assert.commandWorked(slaves[0].getDB("admin").$cmd.sys.unlock.findOne());
+ assert.commandWorked(slaves[0].getDB("admin").fsyncUnlock());
replTest.stopSet();
}());