summaryrefslogtreecommitdiff
path: root/jstests/aggregation/mongos_slaveok.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/aggregation/mongos_slaveok.js
parent504aadbc372054b7b94cef7a24c1d6b3b5bd867b (diff)
downloadmongo-a05fe115d44c58b6e81dcd60f254d15cfa3ab243.tar.gz
SERVER-19143 remove ns from OpDebug and synchronize access to NS in curop
Diffstat (limited to 'jstests/aggregation/mongos_slaveok.js')
-rw-r--r--jstests/aggregation/mongos_slaveok.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/aggregation/mongos_slaveok.js b/jstests/aggregation/mongos_slaveok.js
index 52790b6f11d..c356a0e7dc5 100644
--- a/jstests/aggregation/mongos_slaveok.js
+++ b/jstests/aggregation/mongos_slaveok.js
@@ -25,7 +25,7 @@ ReplSetTest.awaitRSClientHosts(st.s, secNode, {ok: true });
var res = testDB.runCommand({ aggregate: 'user', pipeline: [{ $project: { x: 1 }}]});
assert(res.ok, 'aggregate command failed: ' + tojson(res));
-var profileQuery = { op: 'command', ns: 'test.$cmd', 'command.aggregate': 'user' };
+var profileQuery = { op: 'command', ns: 'test.user', 'command.aggregate': 'user' };
var profileDoc = secNode.getDB('test').system.profile.findOne(profileQuery);
assert(profileDoc != null);