diff options
author | Greg Studer <greg@10gen.com> | 2012-12-27 12:38:45 -0500 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2012-12-27 12:38:45 -0500 |
commit | 1fd36965705e7bbcaec5e855d0b8c072e41ff20b (patch) | |
tree | ab6f4ecbe71d46f5e593c168efbaa0dd781f8aa3 /jstests/sharding/read_pref_cmd.js | |
parent | ccf86a0fdbe7f9c9a45e8fad0410a7eef777fea2 (diff) | |
download | mongo-1fd36965705e7bbcaec5e855d0b8c072e41ff20b.tar.gz |
buildbot read_pref_cmd.js don't do special "query" processing for .$cmd ns
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 11646bd8e03..48f3e11fd4d 100644 --- a/jstests/sharding/read_pref_cmd.js +++ b/jstests/sharding/read_pref_cmd.js @@ -23,7 +23,7 @@ var doTest = function(conn, hostList, isMongos) { * look for the cmd just sent. */ var cmdTest = function(cmdObj, secOk, profileQuery) { - var cmdResult = testDB.runCommand(cmdObj, { readPref: { mode: 'secondary' }}); + var cmdResult = testDB.runCommand(cmdObj); jsTest.log('cmd result: ' + tojson(cmdResult)); assert(cmdResult.ok); |