From 5f55f36b161f129927cd1bb19ba1a953c0681d0a Mon Sep 17 00:00:00 2001 From: Christian Aurich Date: Fri, 4 Sep 2026 01:33:26 -0300 Subject: [PATCH] test: handle EPIPE in closed channel test The second handle is only sent once the first one is acknowledged, by which time the worker may already have exited, so the write can fail with EPIPE. Observed on AIX in the CI reliability report of 2026-09-04. Signed-off-by: Christian Aurich --- test/parallel/test-child-process-fork-closed-channel-segfault.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/parallel/test-child-process-fork-closed-channel-segfault.js b/test/parallel/test-child-process-fork-closed-channel-segfault.js index 73bd118ddce3..779e02205e29 100644 --- a/test/parallel/test-child-process-fork-closed-channel-segfault.js +++ b/test/parallel/test-child-process-fork-closed-channel-segfault.js @@ -76,6 +76,7 @@ const server = net // Ignore errors when sending the second handle because the worker // may already have exited. if (err && err.code !== 'ERR_IPC_CHANNEL_CLOSED' && + err.code !== 'EPIPE' && err.code !== 'ECONNRESET' && err.code !== 'ECONNREFUSED' && err.code !== 'EMFILE') {