Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: deflake http headers timeout keepalive
The second request in the headers-timeout test could finish its headers
before the next periodic timeout check ran. Leave it incomplete across
multiple checking intervals before sending the remaining headers.

Remove both macOS keepalive flaky expectations. c3aa86d already
extended the request-timeout test's margin to allow multiple checks.

Refs: #42741
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Claude, Codex
  • Loading branch information
panva committed Sep 26, 2026
commit 9737126f91b648b5385c536f62d031a2944229f2
3 changes: 0 additions & 3 deletions test/parallel/parallel.status
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ test-performance-function: PASS, FLAKY
test-esm-loader-hooks-inspect-wait: PASS, FLAKY

[$system==macos]
# https://github.com/nodejs/node/issues/42741
test-http-server-headers-timeout-keepalive: PASS,FLAKY
test-http-server-request-timeout-keepalive: PASS,FLAKY
# https://github.com/nodejs/node/issues/60050
test-cluster-dgram-1: SKIP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ server.listen(0, common.mustCall(() => {
performRequestWithDelay(
client,
headersTimeout / 5,
headersTimeout,
headersTimeout * 2,
true
);
}, defer).unref();
Expand Down