Title: Investigate flaky test-http-client-timeout-option-with-agent · Issue #22041 · nodejs/node · GitHub
Open Graph Title: Investigate flaky test-http-client-timeout-option-with-agent · Issue #22041 · nodejs/node
X Title: Investigate flaky test-http-client-timeout-option-with-agent · Issue #22041 · nodejs/node
Description: 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...
Open Graph Description: 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/consol...
X Description: 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/consol...
Opengraph URL: https://github.com/nodejs/node/issues/22041
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Investigate flaky test-http-client-timeout-option-with-agent","articleBody":"* **Version**: v11.0.0-pre(master)\r\n* **Platform**: ubuntu1604_sharedlibs_debug_x64\r\n* **Subsystem**: test\r\n\r\nhttps://ci.nodejs.org/job/node-test-commit-linux-containered/5882/nodes=ubuntu1604_sharedlibs_debug_x64/console\r\n\r\n```\r\n11:15:20 not ok 833 parallel/test-http-client-timeout-option-with-agent\r\n11:15:20 ---\r\n11:15:20 duration_ms: 17.334\r\n11:15:20 severity: fail\r\n11:15:20 exitcode: 1\r\n11:15:20 stack: |-\r\n11:15:20 assert.js:84\r\n11:15:20 throw new AssertionError(obj);\r\n11:15:20 ^\r\n11:15:20 \r\n11:15:20 AssertionError [ERR_ASSERTION]: Input A expected to strictly equal input B:\r\n11:15:20 + expected - actual\r\n11:15:20 \r\n11:15:20 - 4\r\n11:15:20 + 3\r\n11: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)\r\n11:15:20 at ClientRequest.\u003canonymous\u003e (/home/iojs/build/workspace/node-test-commit-linux-containered/nodes/ubuntu1604_sharedlibs_debug_x64/test/common/index.js:467:15)\r\n11:15:20 at ClientRequest.emit (events.js:182:13)\r\n11:15:20 at Socket.emitRequestTimeout (_http_client.js:669:40)\r\n11:15:20 at Object.onceWrapper (events.js:273:13)\r\n11:15:20 at Socket.emit (events.js:182:13)\r\n11:15:20 at Socket._onTimeout (net.js:448:8)\r\n11:15:20 at ontimeout (timers.js:454:11)\r\n11:15:20 at tryOnTimeout (timers.js:326:5)\r\n11:15:20 at listOnTimeout (timers.js:300:5)\r\n11:15:20 ...\r\n```\r\n\r\nThis test asserts the elapsed time of `timeout` in second units. But the actual `timeout` may be longer in some situations.\r\n\r\nIt 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.","author":{"url":"https://github.com/oyyd","@type":"Person","name":"oyyd"},"datePublished":"2018-07-31T09:08:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/22041/node/issues/22041"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2290034f-ebf4-cdd8-82d7-d3dc47ae193c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBAC:26836F:4857FD3:5FFD91B:6992F303 |
| html-safe-nonce | e68d00eef982a0ce548dac943d5d903ac6237691eca447184176cbe442d0a6e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkFDOjI2ODM2Rjo0ODU3RkQzOjVGRkQ5MUI6Njk5MkYzMDMiLCJ2aXNpdG9yX2lkIjoiNzUwOTk4NzE2MDUwMzgwODc3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b0c0dbc60da04011f81905567d11464921bc8adb30a3f70de9f0bdaf022444a4 |
| hovercard-subject-tag | issue:346099312 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/22041/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4c2f99248a593abac67591ccdc75228971942d7e81ce5ca8493306eb0bed0300/nodejs/node/issues/22041 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4c2f99248a593abac67591ccdc75228971942d7e81ce5ca8493306eb0bed0300/nodejs/node/issues/22041 |
| og:image:alt | 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/consol... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oyyd |
| hostname | github.com |
| expected-hostname | github.com |
| None | 348cc0594c4976eb4050dc9547ecf65057ee89a2b7ed0652b983b9b539f57145 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ce72317238c729e85014e1d867fd30d09b7f94ba |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width