Toot

Written by bassistance on 2024-11-20 at 08:58

I've been trying to reproduce flaky tests, that only fail on our CI system, locally. I suspect that the failures are related to the CI worker being on high load and tests with bad "timing" then fail.

I wrote this package.json script to run tests locally on an ARM Mac with limited resources, which somewhat helps:

"test-slow": "taskpolicy -b -g throttle -c maintenance node ./node_modules/jest/bin/jest.js -i --testTimeout=10000",

$ yarn test-slow SomeFlakyTest

=> More informations about this toot | View the thread | More toots from bassistance@chaos.social

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113514454145809826
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
219.545715 milliseconds
Gemini-to-HTML Time
0.595273 milliseconds

This content has been proxied by September (3851b).