Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client tests fail randomly due to "tinypool" #7254

Open
naftis opened this issue Jun 26, 2024 · 1 comment
Open

Client tests fail randomly due to "tinypool" #7254

naftis opened this issue Jun 26, 2024 · 1 comment
Milestone

Comments

@naftis
Copy link
Collaborator

naftis commented Jun 26, 2024

https://github.com/opencrvs/opencrvs-core/actions/runs/9679409583/job/26706927180?pr=7253#step:12:102

Error: Unexpected message from Worker: { taskId: 83, result: undefined, error: null }
    at WorkerInfo.onMessage (file:///home/runner/work/opencrvs-core/opencrvs-core/node_modules/tinypool/dist/esm/index.js:522:21)

Randomly the tests fail due to this tinypool error in vitest.

@naftis
Copy link
Collaborator Author

naftis commented Jun 26, 2024

vitest-dev/vitest#4172 pool: 'forks' which might help fix this is first supported in v1.0.0
vitest-dev/vitest#3925 parallel child_process first supported in v0.34.7 helps configuring the pool: 'forks' in a different way.
vitest-dev/vitest#5047 pool: 'forks' is going to be the default in v2.0.0

@rikukissa rikukissa added this to the v1.7.0 milestone Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants