Title: test: fix flaky test-https-agent-additional-options by Trott · Pull Request #27830 · nodejs/node · GitHub
Open Graph Title: test: fix flaky test-https-agent-additional-options by Trott · Pull Request #27830 · nodejs/node
X Title: test: fix flaky test-https-agent-additional-options by Trott · Pull Request #27830 · nodejs/node
Description: test: fix test-https-agent-additional-options test-https-agent-additional-options can occasionally fail if a socket closes before the checks near the end of the test. Modify the test to check the freeSockets pool after each request. Fixes: https://github.com/nodejs/node/issues/24449 test: refactor test-https-agent-additional-options Move callback to location where it is less confusing. test: favor arrow functions for anonymous callbacks In test-https-agent-additional-options, use arrow functions for anonymous callbacks. Replace a use of `this` with the relevant constant. test: replace flag with option test-https-agent-additional-options is invoked with a command-line flag. However, there is an equivalent option that can be enabled within the code. Do that instead. Checklist make -j4 test (UNIX), or vcbuild test (Windows) passes commit message follows commit guidelines
Open Graph Description: test: fix test-https-agent-additional-options test-https-agent-additional-options can occasionally fail if a socket closes before the checks near the end of the test. Modify the test to check the ...
X Description: test: fix test-https-agent-additional-options test-https-agent-additional-options can occasionally fail if a socket closes before the checks near the end of the test. Modify the test to check the ...
Opengraph URL: https://github.com/nodejs/node/pull/27830
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:90db3603-18c8-e84b-4a07-067213d62af9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9D62:3AEBEF:1EFF01E:2A46696:6A65585D |
| html-safe-nonce | b02288299a136d62647ccf02a985fe0fd197d9307aac35d5152723675679b940 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDYyOjNBRUJFRjoxRUZGMDFFOjJBNDY2OTY6NkE2NTU4NUQiLCJ2aXNpdG9yX2lkIjoiODQwMTk0MzQxNTY3NzYwNTk4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 21757978ee000bde96cdbe57ab3a89f4a4da1f4bafcd65a19e01b8664a11c7fa |
| hovercard-subject-tag | pull_request:281389550 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/nodejs/node/pull/27830/commits/83f77d207adfe0a5edeb874b847d48fdb69b69f5 |
| twitter:image | https://avatars.githubusercontent.com/u/718899?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/718899?s=400&v=4 |
| og:image:alt | test: fix test-https-agent-additional-options test-https-agent-additional-options can occasionally fail if a socket closes before the checks near the end of the test. Modify the test to check the ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width