summaryrefslogtreecommitdiff
path: root/jstests/parallel
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2018-06-12 17:27:01 -0400
committerGeert Bosch <geert@mongodb.com>2018-06-25 16:47:18 -0400
commitab0c426e60c4bdcc49b5a48a93f84828414d5ba6 (patch)
tree59eea717b0cae54e39b4981d654fd58d31d7b286 /jstests/parallel
parent5339c9a55181662545652ab7106c8f4e55109327 (diff)
downloadmongo-ab0c426e60c4bdcc49b5a48a93f84828414d5ba6.tar.gz
SERVER-35591 Remove MMAPv1 testing
Diffstat (limited to 'jstests/parallel')
-rw-r--r--jstests/parallel/update_serializability2.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/jstests/parallel/update_serializability2.js b/jstests/parallel/update_serializability2.js
index c2672491177..f28ddf9bd5a 100644
--- a/jstests/parallel/update_serializability2.js
+++ b/jstests/parallel/update_serializability2.js
@@ -1,4 +1,4 @@
-function test() {
+(function() {
"use strict";
var t = db.update_serializability1;
t.drop();
@@ -24,10 +24,4 @@ function test() {
// both operations should happen on every document
assert.eq(N, t.find({x: 2, y: 2}).count());
-}
-
-if (db.serverStatus().storageEngine.name == 'mmapv1') {
- jsTest.log('skipping test on mmapv1'); // This is only guaranteed on other engines.
-} else {
- test();
-}
+})();