- Version: v11.0.0-pre(master)
- Platform: ubuntu1604_sharedlibs_debug_x64
- Subsystem: test
https://ci.nodejs.org/job/node-test-commit-linux-containered/5882/nodes=ubuntu1604_sharedlibs_debug_x64/console
11:15:20 not ok 833 parallel/test-http-client-timeout-option-with-agent
11:15:20 ---
11:15:20 duration_ms: 17.334
11:15:20 severity: fail
11:15:20 exitcode: 1
11:15:20 stack: |-
11:15:20 assert.js:84
11:15:20 throw new AssertionError(obj);
11:15:20 ^
11:15:20
11:15:20 AssertionError [ERR_ASSERTION]: Input A expected to strictly equal input B:
11:15:20 + expected - actual
11:15:20
11:15:20 - 4
11:15:20 + 3
11:15:20 at ClientRequest.req.on.common.mustCall (/home/iojs/build/workspace/node-test-commit-linux-containered/nodes/ubuntu1604_sharedlibs_debug_x64/test/parallel/test-http-client-timeout-option-with-agent.js:46:12)
11:15:20 at ClientRequest.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/nodes/ubuntu1604_sharedlibs_debug_x64/test/common/index.js:467:15)
11:15:20 at ClientRequest.emit (events.js:182:13)
11:15:20 at Socket.emitRequestTimeout (_http_client.js:669:40)
11:15:20 at Object.onceWrapper (events.js:273:13)
11:15:20 at Socket.emit (events.js:182:13)
11:15:20 at Socket._onTimeout (net.js:448:8)
11:15:20 at ontimeout (timers.js:454:11)
11:15:20 at tryOnTimeout (timers.js:326:5)
11:15:20 at listOnTimeout (timers.js:300:5)
11:15:20 ...
This test asserts the elapsed time of timeout in second units. But the actual timeout may be longer in some situations.
It seems that other related tests avoid measuring the elapsed time. I would like to modify this test to make it less likely fail and keep the consistency of these tests.
https://ci.nodejs.org/job/node-test-commit-linux-containered/5882/nodes=ubuntu1604_sharedlibs_debug_x64/console
This test asserts the elapsed time of
timeoutin second units. But the actualtimeoutmay be longer in some situations.It seems that other related tests avoid measuring the elapsed time. I would like to modify this test to make it less likely fail and keep the consistency of these tests.