The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Give the side-effect scan hook a timeout sized for CI (#83627)
Romeo Van Snick96824f42924e
diff --git a/frontend/lint/tests/side-effect-files.unit.spec.js b/frontend/lint/tests/side-effect-files.unit.spec.jsindex adbef664751..7d2389d5043 100644--- a/frontend/lint/tests/side-effect-files.unit.spec.js+++ b/frontend/lint/tests/side-effect-files.unit.spec.js@@ -26,9 +26,13 @@ describe("side-effect-files.json", () => {// The scan runs in worker threads, so the files it reports arrive async.let effectFiles;+ // On a four-core CI runner the scan shares the cores with the other jest+ // workers and has taken over two minutes, well past the 30s hook default.+ const SCAN_TIMEOUT_MS = 5 * 60 * 1000;+beforeAll(async () => {effectFiles = [...(await scanEffectFiles()).keys()];- });+ }, SCAN_TIMEOUT_MS);it("lists every file the rule reports, with no stale global or entry entries", () => {const { missing, stale } = diffRegistry(registry, effectFiles);