-
Notifications
You must be signed in to change notification settings - Fork 90
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
chore: update sporadically failing tests, upgrade tigerbeetle #1541
Conversation
✅ Deploy Preview for brilliant-pasca-3e80ec canceled.
|
@@ -6,5 +6,6 @@ module.exports = { | |||
}, | |||
testEnvironment: 'node', | |||
moduleDirectories: ['node_modules', './'], | |||
modulePaths: ['node_modules', './'] | |||
modulePaths: ['node_modules', './'], | |||
workerThreads: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The upstream issue was finally closed
so you might be able to remove workerThreads
once the fix is published
Tigerbeetle tests are failing now, trying to fix... ✅ |
…edger#1541) * test(auth): update sporadically failing tests * test: update base jest config to use workerThreads * test: update tigerbeetle * chore: update tigerbeetle in docker compose & helm
Changes proposed in this pull request
Context
Sometimes, we would see this test failure in the CI step, example:
This is because of the
Promise.all
: the order for the in-memory grants array was different than what was created in the database.This also adds a
workerThreads: true
option to the base jest config, to hopefully resolve the sporadicBigInt
serialisation issue:Checklist
fixes #number