Skip to content

Commit 8d51b44

Browse files
committed
test: increase timeout in consumed-timeout test
Increase the base timeout in test-http-server-consumed-timeout from common.platformTimeout(200) to common.platformTimeout(1000). The test is intentionally timing-sensitive and can fail on slower or more contended CI hosts when timers fire later than expected. Using a larger timeout reduces false positives without changing the behavior being tested. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5
1 parent 4ad6ee5 commit 8d51b44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parallel/test-http-server-consumed-timeout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const http = require('http');
77

88
const durationBetweenIntervals = [];
99
let timeoutTooShort = false;
10-
const TIMEOUT = common.platformTimeout(200);
10+
const TIMEOUT = common.platformTimeout(1000);
1111
const INTERVAL = Math.floor(TIMEOUT / 8);
1212

1313
runTest(TIMEOUT);

0 commit comments

Comments
 (0)