Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bstopp committed Feb 14, 2025
1 parent 8800e81 commit b898c80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/storage/object/copy.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ describe('Object copy', () => {
it('handles a continuation token w/ more', async () => {
const continuationToken = 'copy-mydir-mydir/newdir-uuid';
const remaining = [];
for (let i = 0; i < 35; i++) {
for (let i = 0; i < 900; i++) {
remaining.push(`mydir/file${i}.html`);
}
remaining.push('mydir/abc.html');
Expand Down Expand Up @@ -519,7 +519,7 @@ describe('Object copy', () => {
const resp = await copyObject(env, ctx, details, false);
assert.strictEqual(resp.status, 206);
assert.deepStrictEqual(JSON.parse(resp.body), { continuationToken });
assert.strictEqual(s3Sent.length, 35);
assert.strictEqual(s3Sent.length, 900);
assert.deepStrictEqual(JSON.parse(DA_JOBS[continuationToken]), ['mydir/abc.html']);
});

Expand Down

0 comments on commit b898c80

Please sign in to comment.