Skip to content

Commit

Permalink
test/s3: fix intermittent failure (#1218)
Browse files Browse the repository at this point in the history
A Promise was missing await in test setup.
  • Loading branch information
ktuite authored Oct 8, 2024
1 parent 443f958 commit 38a7ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/task/s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { Blob } = require(appRoot + '/lib/model/frames');
// eslint-disable-next-line camelcase
const aBlobExistsWith = async (container, { status }) => {
const blob = await Blob.fromBuffer(crypto.randomBytes(100));
container.run(sql`
await container.run(sql`
INSERT INTO BLOBS (sha, md5, content, "contentType", s3_status)
VALUES (${blob.sha}, ${blob.md5}, ${sql.binary(blob.content)}, ${blob.contentType || null}, ${status})
`);
Expand Down

0 comments on commit 38a7ff0

Please sign in to comment.