Description
Integration tests are failing possibly since the implementation of the worker threads change.
(Unit tests are running well)
Steps to reproduce the issue
Pre-requisite: Docker engine running
- Run
pnpm i
- Run
pnpm run build:all
- Run
pnpm --filter @overture-stack/lyric test:integration;
Current behaviour:
Tests fails with error:
Uncaught Error: Workerpool Worker error: Cannot find module '/Users/lrivera/dev/lyric/packages/data-provider/src/workers/workerpool.js' imported from /Users/lrivera/dev/lyric/packages/data-provider/
at Worker.<anonymous> (/Users/lrivera/dev/lyric/node_modules/.pnpm/workerpool@10.0.1/node_modules/workerpool/src/WorkerHandler.js:354:13)
at Worker.emit (node:events:518:28)
at [kOnErrorMessage] (node:internal/worker:326:10)
at [kOnMessage] (node:internal/worker:337:37)
at MessagePort.<anonymous> (node:internal/worker:232:57)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:826:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
Expected:
All tests should pass
Description
Integration tests are failing possibly since the implementation of the worker threads change.
(Unit tests are running well)
Steps to reproduce the issue
pnpm ipnpm run build:allpnpm --filter @overture-stack/lyric test:integration;Current behaviour:
Tests fails with error:
Expected:
All tests should pass