summaryrefslogtreecommitdiff
path: root/jstests/sharding/read_pref_cmd.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/sharding/read_pref_cmd.js
parent9cf12644d6544c004f12bfc6e5f00d0d1681735e (diff)
downloadmongo-a3ade6d9e919f3bd578c50f6db62da40861dfb59.tar.gz
SERVER-40436 Ignore the 'flags' field from the 'create' command
Diffstat (limited to 'jstests/sharding/read_pref_cmd.js')
-rw-r--r--jstests/sharding/read_pref_cmd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/read_pref_cmd.js b/jstests/sharding/read_pref_cmd.js
index 4a2059276d0..a103338751f 100644
--- a/jstests/sharding/read_pref_cmd.js
+++ b/jstests/sharding/read_pref_cmd.js
@@ -168,7 +168,7 @@ var testReadPreference = function(conn, hostList, isMongos, mode, tagSets, secEx
// Run a no-op command and wait for it to be applied on secondaries. Due to the asynchronous
// completion nature of indexes on secondaries, we can guarantee an index build is complete
// on all secondaries once all secondaries have applied this collMod command.
- assert.commandWorked(testDB.runCommand({collMod: 'user', usePowerOf2Sizes: true}));
+ assert.commandWorked(testDB.runCommand({collMod: 'user'}));
assert.commandWorked(testDB.runCommand({getLastError: 1, w: NODE_COUNT}));
// Mongos doesn't implement geoSearch; test it only with ReplicaSetConnection.