Skip to content

Commit b898c80

Browse files
committed
Fix test.
1 parent 8800e81 commit b898c80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/storage/object/copy.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ describe('Object copy', () => {
480480
it('handles a continuation token w/ more', async () => {
481481
const continuationToken = 'copy-mydir-mydir/newdir-uuid';
482482
const remaining = [];
483-
for (let i = 0; i < 35; i++) {
483+
for (let i = 0; i < 900; i++) {
484484
remaining.push(`mydir/file${i}.html`);
485485
}
486486
remaining.push('mydir/abc.html');
@@ -519,7 +519,7 @@ describe('Object copy', () => {
519519
const resp = await copyObject(env, ctx, details, false);
520520
assert.strictEqual(resp.status, 206);
521521
assert.deepStrictEqual(JSON.parse(resp.body), { continuationToken });
522-
assert.strictEqual(s3Sent.length, 35);
522+
assert.strictEqual(s3Sent.length, 900);
523523
assert.deepStrictEqual(JSON.parse(DA_JOBS[continuationToken]), ['mydir/abc.html']);
524524
});
525525

0 commit comments

Comments
 (0)