summaryrefslogtreecommitdiff
path: root/jstests/parallel/update_serializability2.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/parallel/update_serializability2.js')
-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();
-}
+})();