-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.
Description
- Version: 10.7.0
- Platform: OSX
- Subsystem: http.request
The 10.7.0 release is causing the Yarn test suite to fail (which prevents us from releasing the 1.9, but also might cause issues with everyone already using Yarn), something related to timeouts:
TypeError: sock.setTimeout is not a function
at setSocketTimeout (_http_client.js:739:10)
at ClientRequest.setTimeout (_http_client.js:725:5)
at setReqTimeout (/Users/mael/yarn/node_modules/request/request.js:817:16)
at ClientRequest.<anonymous> (/Users/mael/yarn/node_modules/request/request.js:860:9)
at ClientRequest.emit (events.js:187:15)
at tickOnSocket (_http_client.js:645:7)
at onSocketNT (_http_client.js:684:5)
at process._tickCallback (internal/process/next_tick.js:63:19)
A single commit has been pushed to this file between the 10.6.0 and the 10.7.0 and it happens to change the timeout behavior, which would be consistent with the reported error: 949e885 (cc @killagu).
The repro: clone [email protected]:yarnpkg/yarn and run:
$> yarn install
$> yarn test-only integration-deduping -t 'install should dedupe dependencies avoiding conflicts 8'
I realize it's not a great repro, I'm still working on finding a shorter one.
Metadata
Metadata
Assignees
Labels
httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.