diff options
author | Greg Studer <greg@10gen.com> | 2013-12-06 11:57:14 -0500 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2013-12-11 13:18:41 -0500 |
commit | 71143283f58bea945bd41a5d62f2a3a95a3191af (patch) | |
tree | 170b8a7cf7a8b4bd5ace54ebf0b2e6e1ba202afe /jstests/sharding/read_pref_cmd.js | |
parent | dc7147dc394a10fb8ef2b1aa51f0f9d7593fc95a (diff) | |
download | mongo-71143283f58bea945bd41a5d62f2a3a95a3191af.tar.gz |
SERVER-11971 slaveok versioning logic should also apply to read prefs
Diffstat (limited to 'jstests/sharding/read_pref_cmd.js')
-rw-r--r-- | jstests/sharding/read_pref_cmd.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/jstests/sharding/read_pref_cmd.js b/jstests/sharding/read_pref_cmd.js index cd2159acbe8..3c9e65b6686 100644 --- a/jstests/sharding/read_pref_cmd.js +++ b/jstests/sharding/read_pref_cmd.js @@ -201,9 +201,6 @@ var testBadMode = function(conn, hostList, isMongos, mode, tagSets) { if (failureMsg) throw failureMsg; } - - // Can't be routed to secondary, succeeds by ignoring mode and tags - testDB.runCommand({ create: 'quux' }); }; var testAllModes = function(conn, hostList, isMongos) { |