Skip to content

Commit 3a31e7c

Browse files
committed
test: bump SQL-on-FHIR beforeAll timeout to 180s
The previous commit moved generation from describe-discovery (no timeout) into `beforeAll`, which inherits bunfig's `timeout = 30000`. SQL-on-FHIR fetches `https://build.fhir.org/.../package.tgz` on cold cache from GH runners and routinely exceeds 30s; the hook timed out, got retried, and OOM-killed the suite.
1 parent 257f178 commit 3a31e7c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/api/write-generator/multi-package/sql-on-fhir.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe("SQL-on-FHIR", () => {
2929
.typeSchema({ treeShake: treeShakeConfig })
3030
.typescript({ inMemoryOnly: true })
3131
.generate();
32-
});
32+
}, 180_000);
3333

3434
afterAll(() => {
3535
result = undefined as unknown as GenerationReport;
@@ -73,7 +73,7 @@ describe("SQL-on-FHIR", () => {
7373
.typeSchema({ treeShake: treeShakeConfig, promoteLogical: promoteLogicalConfig })
7474
.python({ inMemoryOnly: true })
7575
.generate();
76-
});
76+
}, 180_000);
7777

7878
afterAll(() => {
7979
result = undefined as unknown as GenerationReport;
@@ -112,7 +112,7 @@ describe("SQL-on-FHIR", () => {
112112
.typeSchema({ treeShake: treeShakeConfig, promoteLogical: promoteLogicalConfig })
113113
.csharp({ inMemoryOnly: true })
114114
.generate();
115-
});
115+
}, 180_000);
116116

117117
afterAll(() => {
118118
result = undefined as unknown as GenerationReport;

0 commit comments

Comments
 (0)