diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-11-16 17:43:22 -0500 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-12-09 12:20:02 -0500 |
commit | 8c67bb9322f351cd54fa9a80de7c33d3c4fdfdc8 (patch) | |
tree | 6440f151d2ba327517b86f089f5e053dd33cb365 /jstests/gle/gle_explicit_optime.js | |
parent | 13270a048515916324c5f44958c225550d5c4dc9 (diff) | |
download | mongo-8c67bb9322f351cd54fa9a80de7c33d3c4fdfdc8.tar.gz |
SERVER-21384 Enable all suites on ephemeral storage engines
Diffstat (limited to 'jstests/gle/gle_explicit_optime.js')
-rw-r--r-- | jstests/gle/gle_explicit_optime.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/gle/gle_explicit_optime.js b/jstests/gle/gle_explicit_optime.js index 77c526e981d..7bc9e35b3a9 100644 --- a/jstests/gle/gle_explicit_optime.js +++ b/jstests/gle/gle_explicit_optime.js @@ -1,6 +1,9 @@ // // Tests the use of the wOpTime option in getLastError // +// This test requires fsync to lock the secondary, so cannot be run on storage engines which do not +// support the command. +// @tags: [requires_fsync] var rst = new ReplSetTest({ nodes : 2 }); rst.startSet(); @@ -18,7 +21,7 @@ assert.eq( null, gleObj.err ); var opTimeBeforeFailure = gleObj.lastOp; // Lock the secondary -secondary.getDB("admin").fsyncLock(); +assert.commandWorked(secondary.getDB("admin").fsyncLock()); // Insert a doc and replicate it to the primary only coll.insert({ some : "doc" }); |