Files
node/test/parallel
Harshitha KP 5b899d69f1 test: add Worker initialization failure test case
Cover the scenario fixed through
https://github.com/nodejs/node/pull/31621
Unfortunately there is no easy way to test this, in a
cross-platform manner. So the approach is:
 - open a child process with ulimit restriction on file descriptors
 - in the child process, start few workers - more than the fd limit
 - make sure some workers fail, with the expected error type.
 - skip the test in windows, as there is no ulimit there.

Refs: https://github.com/nodejs/node/pull/31621

PR-URL: https://github.com/nodejs/node/pull/31929
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2020-04-06 01:52:14 +02:00
..
2020-01-03 01:44:54 +01:00
2020-03-30 10:18:58 +02:00
2020-03-30 10:18:58 +02:00
2020-03-30 10:18:58 +02:00
2019-11-13 17:04:22 +00:00
2020-01-03 01:44:54 +01:00
2019-12-25 12:24:42 +01:00
2019-12-25 12:24:42 +01:00
2020-03-18 16:37:20 -07:00
2020-02-09 13:36:39 +01:00
2020-03-19 10:56:45 +01:00