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

AssertionError #734

Open
DemonMartin opened this issue Jan 23, 2025 · 3 comments
Open

AssertionError #734

DemonMartin opened this issue Jan 23, 2025 · 3 comments

Comments

@DemonMartin
Copy link

DemonMartin commented Jan 23, 2025

node:assert:126
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

1 !== 0

    at Timeout._onTimeout (...\node_modules\piscina\dist\index.js:312:39)
    at listOnTimeout (node:internal/timers:594:17)
    at process.processTimers (node:internal/timers:529:7) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: 1,
  expected: 0,
  operator: 'strictEqual'
}

This happens to me quite often. Not Sure if you need something to reproduce the issue, if yes, LMK.

@DemonMartin
Copy link
Author

This doesn't seem to happen when atomics is set to disabled.

@DemonMartin
Copy link
Author

Also, I'm on ^5.0.0-alpha.0

@metcoder95
Copy link
Member

Hi! 👋
Thanks for the report, can you attempt to use 5.0.0-alpha.1 and verify if the issue persists?

As well, if you can provide an Minimum Reproducible Example that will help much to support you better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@metcoder95 @DemonMartin and others