summaryrefslogtreecommitdiff
path: root/jstests/sharding/group_slaveok.js
diff options
context:
space:
mode:
authorgregs <greg@10gen.com>2011-07-18 14:25:18 -0400
committergregs <greg@10gen.com>2011-07-27 15:59:27 -0400
commitcc43fc3e4acce9b6bf5558f6f61f828b9a7b6fb9 (patch)
tree115778a331ada31e5a04cca12dafdac4a9b001ea /jstests/sharding/group_slaveok.js
parent0a3a147ffb9e726dec50bf121ba82e9b650f6e2b (diff)
downloadmongo-cc43fc3e4acce9b6bf5558f6f61f828b9a7b6fb9.tar.gz
change command api to allow command options SERVER-3405
Diffstat (limited to 'jstests/sharding/group_slaveok.js')
-rw-r--r--jstests/sharding/group_slaveok.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/group_slaveok.js b/jstests/sharding/group_slaveok.js
index 930ea095351..e78dc5450bf 100644
--- a/jstests/sharding/group_slaveok.js
+++ b/jstests/sharding/group_slaveok.js
@@ -37,7 +37,7 @@ printjson( rst.status() )
// master is down
conn.setSlaveOk()
-// Should throw exception, since not slaveOk'd
+// Should not throw exception, since slaveOk'd
assert.eq( 10, coll.group({ key : { i : true } ,
reduce : function( obj, ctx ){ ctx.count += 1 } ,
initial : { count : 0 } }).length )