test(application): extend ExcelJS read-workbook timeouts to 30s
CI / Assistant Split Regression (push) Successful in 11m15s
CI / Lint (push) Successful in 9m38s
CI / Typecheck (push) Successful in 11m19s
CI / Unit Tests (push) Successful in 9m48s
CI / Build (push) Successful in 8m19s
CI / E2E Tests (push) Successful in 5m54s
CI / Fresh-Linux Docker Deploy (push) Failing after 6m45s
CI / Release Images (push) Has been skipped
CI / Architecture Guardrails (push) Successful in 9m17s
CI / Assistant Split Regression (push) Successful in 11m15s
CI / Lint (push) Successful in 9m38s
CI / Typecheck (push) Successful in 11m19s
CI / Unit Tests (push) Successful in 9m48s
CI / Build (push) Successful in 8m19s
CI / E2E Tests (push) Successful in 5m54s
CI / Fresh-Linux Docker Deploy (push) Failing after 6m45s
CI / Release Images (push) Has been skipped
CI / Architecture Guardrails (push) Successful in 9m17s
The 'rejects worksheets that exceed the row limit' test took 6599ms on the QNAP act_runner, overflowing the default 5000ms vitest timeout. Writing and parsing MAX_DISPO_WORKBOOK_ROWS+1 rows via ExcelJS is slow on constrained hardware. Extend timeout for all three writeWorkbook- dependent tests (row limit, column limit) to 30s, matching the fix already applied to excel.test.ts and workbook-export.test.ts.
This commit is contained in:
@@ -123,7 +123,7 @@ describe("readWorksheetMatrix", () => {
|
||||
await expect(readWorksheetMatrix(workbookPath, "Sheet1")).rejects.toThrow(
|
||||
`exceeds the ${MAX_DISPO_WORKBOOK_ROWS} row import limit`,
|
||||
);
|
||||
});
|
||||
}, 30000);
|
||||
|
||||
it("rejects worksheets that exceed the column limit", async () => {
|
||||
const directory = await makeTempDirectory();
|
||||
@@ -135,5 +135,5 @@ describe("readWorksheetMatrix", () => {
|
||||
await expect(readWorksheetMatrix(workbookPath, "Sheet1")).rejects.toThrow(
|
||||
`exceeds the ${MAX_DISPO_WORKBOOK_COLUMNS} column import limit`,
|
||||
);
|
||||
});
|
||||
}, 30000);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user