diff options
Diffstat (limited to 'jstests/aggregation/sources/bucket/collation_bucket.js')
-rw-r--r-- | jstests/aggregation/sources/bucket/collation_bucket.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/jstests/aggregation/sources/bucket/collation_bucket.js b/jstests/aggregation/sources/bucket/collation_bucket.js index 617bf8085f2..182d9d8b17c 100644 --- a/jstests/aggregation/sources/bucket/collation_bucket.js +++ b/jstests/aggregation/sources/bucket/collation_bucket.js @@ -14,15 +14,15 @@ var coll = db.collation_bucket; coll.drop(); function insertData() { - assert.writeOK(coll.insert({num: "1"})); - assert.writeOK(coll.insert({num: "2"})); - assert.writeOK(coll.insert({num: "5"})); - assert.writeOK(coll.insert({num: "10"})); - assert.writeOK(coll.insert({num: "20"})); - assert.writeOK(coll.insert({num: "50"})); - assert.writeOK(coll.insert({num: "100"})); - assert.writeOK(coll.insert({num: "200"})); - assert.writeOK(coll.insert({num: "500"})); + assert.commandWorked(coll.insert({num: "1"})); + assert.commandWorked(coll.insert({num: "2"})); + assert.commandWorked(coll.insert({num: "5"})); + assert.commandWorked(coll.insert({num: "10"})); + assert.commandWorked(coll.insert({num: "20"})); + assert.commandWorked(coll.insert({num: "50"})); + assert.commandWorked(coll.insert({num: "100"})); + assert.commandWorked(coll.insert({num: "200"})); + assert.commandWorked(coll.insert({num: "500"})); } insertData(); |