Skip to content

Commit

Permalink
test: reduce impact of flaky HTTP server tests
Browse files Browse the repository at this point in the history
Refs: #42741
  • Loading branch information
tniessen committed Apr 30, 2022
1 parent 02e0c17 commit 06c1abe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions test/parallel/parallel.status
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ test-fs-rmdir-recursive: PASS, FLAKY
test-domain-error-types: 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

[$arch==arm || $arch==arm64]
# https://github.com/nodejs/node/pull/31178
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function performRequestWithDelay(client, firstDelay, secondDelay, closeAfter) {
}, firstDelay + secondDelay).unref();
}

const headersTimeout = common.platformTimeout(2000);
const headersTimeout = common.platformTimeout(5000);
const server = createServer({
headersTimeout,
requestTimeout: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function performRequestWithDelay(client, firstDelay, secondDelay, closeAfter) {
}, firstDelay + secondDelay).unref();
}

const requestTimeout = common.platformTimeout(2000);
const requestTimeout = common.platformTimeout(5000);
const server = createServer({
headersTimeout: 0,
requestTimeout,
Expand Down

0 comments on commit 06c1abe

Please sign in to comment.