diff options
author | gregs <greg@10gen.com> | 2011-07-18 14:25:18 -0400 |
---|---|---|
committer | gregs <greg@10gen.com> | 2011-07-27 15:59:27 -0400 |
commit | cc43fc3e4acce9b6bf5558f6f61f828b9a7b6fb9 (patch) | |
tree | 115778a331ada31e5a04cca12dafdac4a9b001ea /jstests/sharding/group_slaveok.js | |
parent | 0a3a147ffb9e726dec50bf121ba82e9b650f6e2b (diff) | |
download | mongo-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.js | 2 |
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 ) |