-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexOptionsConflict for chunk collection - pr #372
Conversation
tests/cases/06_gridfs.ts
Outdated
chunkSizeBytes: 255 * 8, | ||
}); | ||
|
||
await (await fetch("https://deno.land/images/deno_logo.png")).body!.pipeTo( | ||
upstream, | ||
); | ||
await (await fetch("https://deno.land/images/artwork/snow_den.png")).body! | ||
.pipeTo( | ||
upstream, | ||
); | ||
|
||
const getId = | ||
(await bucket.find({ filename: "deno_logo.png" }).toArray())[0]._id; | ||
|
||
const expected = await fetch("https://deno.land/images/deno_logo.png"); | ||
const expected = await fetch("https://deno.land/images/artwork/snow_den.png"); | ||
const actual = await new Response(await bucket.openDownloadStream(getId)) | ||
.arrayBuffer(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert these changes, because we already localized these assets so this PR has merge conflicts
tests/cases/06_gridfs.ts
Outdated
await writer.close(); | ||
}; | ||
await addAsset(0); | ||
await addAsset(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the assert in this code? Shouldn’t the test case somehow check if the indexes where skipped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
#364