Fix EPIPE when run unit tests (#187)
authorAlessandro Pio Ardizio <alessandroardizio94@gmail.com>
Thu, 18 Feb 2021 16:03:47 +0000 (17:03 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Feb 2021 16:03:47 +0000 (17:03 +0100)
commit8bc7762018845abb73680eb1bbd65802b002ea08
tree7a8e879ef2ed3c46e5cbe2422870b8ffebb254c1
parent4dc274761ce688172117009d1b306077d321f461
Fix EPIPE when run unit tests (#187)

* Try to remove the --exit

* Revert "Fix EPIPE on shutdown"

This reverts commit 4dc274761ce688172117009d1b306077d321f461.

* Graceful shutdown during unit tests

* Readd exit since that was not the solution

* Capital letters on comments

* Destroy all pools in after (#188)

Co-authored-by: Shinigami <chrissi92@hotmail.de>
package-lock.json
src/worker/abstract-worker.ts
tests/pools/cluster/dynamic.test.js
tests/pools/cluster/fixed.test.js