summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/ttl_repl.js
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-04-11 08:11:03 -0400
committerGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-04-11 08:21:33 -0400
commita3ade6d9e919f3bd578c50f6db62da40861dfb59 (patch)
tree2cc03cb79bd3abdfd148c403aa600c71e64e3cac /jstests/noPassthroughWithMongod/ttl_repl.js
parent9cf12644d6544c004f12bfc6e5f00d0d1681735e (diff)
downloadmongo-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.js3
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();