summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-04-06 13:48:53 -0400
committerMathias Stearn <mathias@10gen.com>2017-04-12 08:57:13 -0400
commit999ec2fca89384f57b3fe0468ee7b57c40dabf14 (patch)
tree4ae0d9f798c2768174d89e4464702c79093d8deb /jstests
parent9cc021793df988637ec07dd68abc8ae4acff45c8 (diff)
downloadmongo-999ec2fca89384f57b3fe0468ee7b57c40dabf14.tar.gz
SERVER-28663 rename config server metadata from configsvr to $configsvr
This is prep for OP_MSG where "configsvr" conflicts with a field of the same name in the reply to isMaster. OP_COMMAND will continue to use the old name since it will only be used to communicate with older nodes.
Diffstat (limited to 'jstests')
-rw-r--r--jstests/sharding/auth_sharding_cmd_metadata.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/auth_sharding_cmd_metadata.js b/jstests/sharding/auth_sharding_cmd_metadata.js
index 94dbc4a5141..d04cfb204c7 100644
--- a/jstests/sharding/auth_sharding_cmd_metadata.js
+++ b/jstests/sharding/auth_sharding_cmd_metadata.js
@@ -20,7 +20,7 @@
st.d0.getDB('admin').auth('user', 'pwd');
var maxSecs = Math.pow(2, 32) - 1;
- var metadata = {configsvr: {opTime: {ts: Timestamp(maxSecs, 0), t: maxSecs}}};
+ var metadata = {$configServerState: {opTime: {ts: Timestamp(maxSecs, 0), t: maxSecs}}};
var res = st.d0.getDB('test').runCommandWithMetadata("ping", {ping: 1}, metadata);
assert.commandFailedWithCode(res.commandReply, ErrorCodes.Unauthorized);