mockttp icon indicating copy to clipboard operation
mockttp copied to clipboard

EPIPE write, ECONNRESET issues when switch to nodejs 20

Open roman-kupriyanov opened this issue 6 months ago • 3 comments

Hello,

After the migration to nodejs 20.16.0 from 18.20.4 some of our tests that use Mockttp server started to fail with EPIPE write or ECONNRESET read or ECONNRESET socket hang up errors. We have around 200 tests in general and only some of them are affected. A weird part is that if to run failed tests individually they are passing, which makes me think that it may be related to some parallel running issues or race conditions. We use Jest as a test runner.

Any help would be appreciated. Thanks!

roman-kupriyanov avatar Aug 13 '24 15:08 roman-kupriyanov