diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2018-03-30 12:22:58 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2018-04-02 10:30:08 -0400 |
commit | d9c3639f29758235732a89ad7136dee6715206e5 (patch) | |
tree | 1f167b053e827e281194863c71cb03cc63fa4091 | |
parent | 4254a6af2dcce00faefb8c98ba1e1f859cb955e3 (diff) | |
download | mongo-d9c3639f29758235732a89ad7136dee6715206e5.tar.gz |
SERVER-34213 Start _id at 0 in testshard1.js
-rw-r--r-- | jstests/aggregation/testshard1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/aggregation/testshard1.js b/jstests/aggregation/testshard1.js index 6ecd68bfc27..25cb0689e97 100644 --- a/jstests/aggregation/testshard1.js +++ b/jstests/aggregation/testshard1.js @@ -40,7 +40,7 @@ var strings = [ jsTestLog("Bulk inserting data"); var nItems = 200000; var bulk = db.ts1.initializeUnorderedBulkOp(); -for (i = 1; i <= nItems; ++i) { +for (i = 0; i < nItems; ++i) { bulk.insert({ _id: i, counter: ++count, |