Skip to content

Commit 48179a1

Browse files
kriszypclaude
andcommitted
Increase Bun csvDataLoad timeout from 60s to 120s
On Bun shard 2, the embed-directive test suite tears down its Harper instance (flushing HNSW index data to disk) concurrently with northwind's csvDataLoad background job. The CPU-intensive HNSW flush starves the job processor, causing it to still be IN_PROGRESS at the 60s polling deadline. 120s gives the flush time to complete before the assertion fires. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 898cb35 commit 48179a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

integrationTests/apiTests/northwind.test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2160,7 +2160,7 @@ suite('Northwind operations', { skip: skipSuite }, (ctx) => {
21602160
// Use awaitJob + manual assertions so we can return job.message as a raw
21612161
// object — awaitJobCompleted would stringify it, breaking callers that
21622162
// access errorMsg.unauthorized_access / errorMsg.invalid_schema_items.
2163-
const jobResp = await awaitJob(client, getJobId(r.body), isBunRuntime ? 60 : 30);
2163+
const jobResp = await awaitJob(client, getJobId(r.body), isBunRuntime ? 120 : 30);
21642164
const job = jobResp.body[0];
21652165
assert.ok(job, `No job found in response: ${jobResp.text}`);
21662166
if (_expectedError) {

0 commit comments

Comments
 (0)