Skip to content

test-http-outgoing-end-cork ignores platformTimeout and fail on slow archs #54499

@kapouer

Description

@kapouer

Test

test-http-outgoing-end-cork

Platform

No response

Console output

not ok 1287 parallel/test-http-outgoing-end-cork
---
duration_ms: 6970.84500
severity: fail
exitcode: 1
stack: |-
	Sending req no 1
	node:assert:173
		throw err;
		^
	
	AssertionError [ERR_ASSERTION]: () => {
			reject(new Error('Request timed out'));
		} at /tmp/autopkgtest-lxc.i258yc3s/downtmp/build.JNN/src/test/parallel/test-http-outgoing-end-cork.js:53
			at Timeout.mustNotCall [as _onTimeout] (/tmp/autopkgtest-lxc.i258yc3s/downtmp/build.JNN/src/test/common/index.js:547:12)
			at listOnTimeout (node:internal/timers:581:17)
			at process.processTimers (node:internal/timers:519:7) {
		generatedMessage: false,
		code: 'ERR_ASSERTION',
		actual: undefined,
		expected: undefined,
		operator: 'fail'
	}
	
	Node.js v20.16.0

Build links

Additional information

This build is for node 20.7.0 on riscv64 arch.
I know it is not supported, but it would be nice anyway to have timeouts proportional to platformTimeout for all tests.

In that test,
const REQ_TIMEOUT = 500; // Set max ms of request time before abort
// Set total allowed test timeout to avoid infinite loop
// that will hang test suite
const TOTAL_TEST_TIMEOUT = 1000;

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the CI.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions