test: ensure that all worker servers are ready · nodejs/node@ed080d8 · GitHub
Skip to content

Commit ed080d8

Browse files
lpincaaduh95
authored andcommitted
test: ensure that all worker servers are ready
Wait for the `'listening'` message from all workers before creating the first connection. This fixes an `EMFILE` error that is raised on Windows when running the following command ``` python tools/test.py -J --repeat=1000 parallel/test-tls-ticket-cluster ``` PR-URL: #52563 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent e247a61 commit ed080d8

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

test/parallel/test-tls-ticket-cluster.js

Lines changed: 3 additions & 4 deletions

0 commit comments

Comments
 (0)