Skip to content

Commit 72b90fd

Browse files
tniessenRafaelGSS
authored andcommitted
test: reduce impact of flaky HTTP server tests
Refs: #42741 PR-URL: #42926 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent fee565b commit 72b90fd

3 files changed

+5
-2
lines changed

test/parallel/parallel.status

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ test-fs-rmdir-recursive: PASS, FLAKY
2121
test-domain-error-types: PASS,FLAKY
2222

2323
[$system==macos]
24+
# https://github.com/nodejs/node/issues/42741
25+
test-http-server-headers-timeout-keepalive: PASS,FLAKY
26+
test-http-server-request-timeout-keepalive: PASS,FLAKY
2427

2528
[$arch==arm || $arch==arm64]
2629
# https://github.com/nodejs/node/pull/31178

test/parallel/test-http-server-headers-timeout-keepalive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function performRequestWithDelay(client, firstDelay, secondDelay, closeAfter) {
2424
}, firstDelay + secondDelay).unref();
2525
}
2626

27-
const headersTimeout = common.platformTimeout(2000);
27+
const headersTimeout = common.platformTimeout(5000);
2828
const server = createServer({
2929
headersTimeout,
3030
requestTimeout: 0,

test/parallel/test-http-server-request-timeout-keepalive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function performRequestWithDelay(client, firstDelay, secondDelay, closeAfter) {
2424
}, firstDelay + secondDelay).unref();
2525
}
2626

27-
const requestTimeout = common.platformTimeout(2000);
27+
const requestTimeout = common.platformTimeout(5000);
2828
const server = createServer({
2929
headersTimeout: 0,
3030
requestTimeout,

0 commit comments

Comments
 (0)