diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-02-16 16:39:39 -0500 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-02-20 09:56:17 -0500 |
commit | 2ae87330910dd7af58507c77d0363d267be8381e (patch) | |
tree | 9ef308ca13b9432d07a25381a7159daff7cc470a /jstests | |
parent | bab869b757be09d36109514b5bf797181bd7a37b (diff) | |
download | mongo-2ae87330910dd7af58507c77d0363d267be8381e.tar.gz |
SERVER-33380 Blacklist multiversion cannot_create_system_dot_indexes.js from mmapv1
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/multiVersion/cannot_create_system_dot_indexes.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jstests/multiVersion/cannot_create_system_dot_indexes.js b/jstests/multiVersion/cannot_create_system_dot_indexes.js index 6b6e44116e3..dcdacfcf04b 100644 --- a/jstests/multiVersion/cannot_create_system_dot_indexes.js +++ b/jstests/multiVersion/cannot_create_system_dot_indexes.js @@ -2,6 +2,13 @@ // lower-version node. (function() { + // This test should not be run on mmapv1 because the 'system.indexes' collection exists on that + // storage engine. + const isMMAPv1 = jsTest.options().storageEngine === "mmapv1"; + if (isMMAPv1) { + return; + } + const latest = "latest"; const downgrade = "3.6"; const downgradeFCV = "3.6"; |