diff options
author | Mathias Stearn <mathias@10gen.com> | 2011-12-20 14:53:20 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2011-12-20 14:53:20 -0500 |
commit | 88e4e699dc4db5efd20f393ac587fbe8d66673ac (patch) | |
tree | d11ec32f05a0fe1fb209d89edb4c7b55632b21b0 /jstests/slowNightly | |
parent | ceaa11646de9eda45d16d51a1ac01dd97e135cb5 (diff) | |
download | mongo-88e4e699dc4db5efd20f393ac587fbe8d66673ac.tar.gz |
Disabled test for SERVER-4534
Diffstat (limited to 'jstests/slowNightly')
-rw-r--r-- | jstests/slowNightly/huge_multikey_index.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/jstests/slowNightly/huge_multikey_index.js b/jstests/slowNightly/huge_multikey_index.js new file mode 100644 index 00000000000..322c47aa398 --- /dev/null +++ b/jstests/slowNightly/huge_multikey_index.js @@ -0,0 +1,17 @@ +// https://jira.mongodb.org/browse/SERVER-4534 +t = db.huge_multikey_index +t.drop() + +function doit() { + arr = [] + for (var i=0; i< 1000*1000;i++) + arr.push(i); + + t.insert({a:arr}) + + //t.ensureIndex({a:1}, {background:true}) // works! + + t.ensureIndex({a:1}) // boom! +} + +// doit(); // SERVER-4534 |