mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: add 120s timeout to all HEIF/HEIC integration tests for CI
Comprehensively adds { timeout: 120_000 } to every HEIF/HEIC
integration test across 40 test files. HEIF decoding on CI runners
is significantly slower than local, causing sporadic timeouts at
the default 5s or previous 60s limits.
This commit is contained in:
@@ -598,7 +598,7 @@ describe("Inspect endpoint: ICC and XMP parsing", () => {
|
||||
|
||||
// ── HEIC format handling ────────────────────────────────────────
|
||||
describe("HEIC format handling", () => {
|
||||
it("strips metadata from HEIC input", async () => {
|
||||
it("strips metadata from HEIC input", { timeout: 120_000 }, async () => {
|
||||
const heic = readFileSync(join(FIXTURES, "test-200x150.heic"));
|
||||
const res = await postTool({ stripAll: true }, heic, "test.heic", "image/heic");
|
||||
// HEIC decode may not be available
|
||||
@@ -610,7 +610,7 @@ describe("HEIC format handling", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("strips selective metadata from HEIC input", async () => {
|
||||
it("strips selective metadata from HEIC input", { timeout: 120_000 }, async () => {
|
||||
const heic = readFileSync(join(FIXTURES, "test-200x150.heic"));
|
||||
const res = await postTool(
|
||||
{ stripAll: false, stripExif: true, stripGps: true },
|
||||
|
||||
Reference in New Issue
Block a user