diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2018-01-31 18:38:13 -0500 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2018-02-01 12:00:35 -0500 |
commit | a403f49731ef57bbb430d6b9e57082a3057ea3b6 (patch) | |
tree | 11603c23202ab2e57a8b969f75be77751d13c656 /jstests/core/collation.js | |
parent | 6bad57ad6bd8b7e1515ce676eccfd4be2ff29fba (diff) | |
download | mongo-a403f49731ef57bbb430d6b9e57082a3057ea3b6.tar.gz |
SERVER-33023 Disable transaction on MMAPv1.
This reverts commit 4232d7725f405f8ccd58d4415c711ba814a991d4.
Diffstat (limited to 'jstests/core/collation.js')
-rw-r--r-- | jstests/core/collation.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/core/collation.js b/jstests/core/collation.js index dbc0bd3307a..3a089dde4ee 100644 --- a/jstests/core/collation.js +++ b/jstests/core/collation.js @@ -9,6 +9,8 @@ load("jstests/libs/analyze_plan.js"); load("jstests/libs/get_index_helpers.js"); + // For isMMAPv1. + load("jstests/concurrency/fsm_workload_helpers/server_types.js"); var coll = db.collation; coll.drop(); @@ -1971,7 +1973,7 @@ } // doTxn - if (!isMongos) { + if (!isMongos && !isMMAPv1(db)) { coll.drop(); assert.commandWorked( db.createCollection("collation", {collation: {locale: "en_US", strength: 2}})); |