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/sharding/read_pref_cmd.js | |
parent | 9cf12644d6544c004f12bfc6e5f00d0d1681735e (diff) | |
download | mongo-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.js | 2 |
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. |