summaryrefslogtreecommitdiff
path: root/jstests/sharding/read_pref_cmd.js
diff options
context:
space:
mode:
authorAdam Midvidy <amidvidy@gmail.com>2015-06-29 09:16:44 -0400
committerAdam Midvidy <amidvidy@gmail.com>2015-06-29 09:27:55 -0400
commita05fe115d44c58b6e81dcd60f254d15cfa3ab243 (patch)
tree121bab8c129785ade5acaf5b700b3ab8c223b413 /jstests/sharding/read_pref_cmd.js
parent504aadbc372054b7b94cef7a24c1d6b3b5bd867b (diff)
downloadmongo-a05fe115d44c58b6e81dcd60f254d15cfa3ab243.tar.gz
SERVER-19143 remove ns from OpDebug and synchronize access to NS in curop
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 e5c0585faa2..03b8991fa1a 100644
--- a/jstests/sharding/read_pref_cmd.js
+++ b/jstests/sharding/read_pref_cmd.js
@@ -60,7 +60,7 @@ var testReadPreference = function(conn, hostList, isMongos, mode, tagSets, secEx
assert(cmdResult.ok);
var testedAtLeastOnce = false;
- var query = { op: 'command', ns: 'test.$cmd' };
+ var query = { op: 'command' };
Object.extend(query, profileQuery);
hostList.forEach(function(node) {