diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-04-11 08:11:03 -0400 |
---|---|---|
committer | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-04-11 08:21:33 -0400 |
commit | a3ade6d9e919f3bd578c50f6db62da40861dfb59 (patch) | |
tree | 2cc03cb79bd3abdfd148c403aa600c71e64e3cac /jstests/noPassthroughWithMongod/ttl_repl.js | |
parent | 9cf12644d6544c004f12bfc6e5f00d0d1681735e (diff) | |
download | mongo-a3ade6d9e919f3bd578c50f6db62da40861dfb59.tar.gz |
SERVER-40436 Ignore the 'flags' field from the 'create' command
Diffstat (limited to 'jstests/noPassthroughWithMongod/ttl_repl.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/ttl_repl.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/noPassthroughWithMongod/ttl_repl.js b/jstests/noPassthroughWithMongod/ttl_repl.js index 78ea6c5d6c6..97257da5ce6 100644 --- a/jstests/noPassthroughWithMongod/ttl_repl.js +++ b/jstests/noPassthroughWithMongod/ttl_repl.js @@ -25,9 +25,8 @@ var slave1db = slave1.getDB('d'); var mastercol = masterdb['c']; var slave1col = slave1db['c']; -// turn off usePowerOf2Sizes as this tests the flag is set automatically mastercol.drop(); -masterdb.createCollection(mastercol.getName(), {usePowerOf2Sizes: false}); +masterdb.createCollection(mastercol.getName()); // create new collection. insert 24 docs, aged at one-hour intervalss now = (new Date()).getTime(); |