Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Remove nock and get tests running green in 2.x #10872

Closed
wants to merge 10 commits into from
Closed

Conversation

zkat
Copy link
Contributor

@zkat zkat commented Dec 18, 2015

This is a port of #10706 to the 2.x branch.

zkat and others added 7 commits December 17, 2015 16:38
0.8 http streams have a bug, where if they're paused with data in
their buffers when the socket closes, they call `end` before emptying
those buffers, which results in the entire pipeline ending and thus
the point that applied backpressure never being able to trigger a
`resume`.

We work around this by piping into a pass through stream that has
unlimited buffering. The pass through stream is from readable-stream
and is thus a current streams3 implementation that is free of these
bugs even on 0.8.
@zkat
Copy link
Contributor Author

zkat commented Dec 23, 2015

There's some git-related flakiness I'm gonna have to spend time on for this. :(

@zkat zkat force-pushed the zkat/2.x-kill-the-nock branch 3 times, most recently from b6dfcb1 to 750e13e Compare January 11, 2016 22:11
@zkat zkat removed the in-progress label Jan 11, 2016
@zkat
Copy link
Contributor Author

zkat commented Jan 11, 2016

This is ready for review ^_^

Specially on travis -- changing ports prevents that conflict
from happening, but we'll need to keep doing it for every test
that uses git.
@zkat zkat force-pushed the zkat/2.x-kill-the-nock branch 4 times, most recently from 93ef8e3 to fb5cd0f Compare January 13, 2016 22:52
@othiym23
Copy link
Contributor

🐑🚑💥

It's worth calling out the bug fix implicit in the changed stream usage in CHANGELOG.md whenever this goes out. Copypasta @iarna's description of the problem / fix?

@iarna iarna added this to the next milestone Jan 20, 2016
@iarna
Copy link
Contributor

iarna commented Jan 25, 2016

This was merged to 2.14.16! =)

@iarna iarna closed this Jan 25, 2016
@othiym23 othiym23 deleted the zkat/2.x-kill-the-nock branch September 9, 2016 03:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants