Skip to content

BUG - Integration tests broken #203

@leoraba

Description

@leoraba

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

  1. Run pnpm i
  2. Run pnpm run build:all
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions