You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
http: Add coverage for socketOnDrain and updateOngoingData #17051
Activity
sashaaKr commentedon Nov 20, 2017
Hey, I'm going to work on it
Leko commentedon Dec 11, 2017
@mcollina It seems to covered in latest coverage report.
https://coverage.nodejs.org/coverage-06e1b0386196f8f8/root/_http_server.js.html
But I cannot find test case about socketOnDrain.
This function is covered indirectly by another function tests.
Should we write a test according to socketOnDrain ?
mcollina commentedon Dec 11, 2017
our test suite does not check when
needPausebecomes false. We should test all the combinations for the various conditionals insocketOnDrain.Leko commentedon Dec 11, 2017
@mcollina Thank you for the detailed explanation.
I got it. I'll try to write test.
mcollina commentedon Dec 15, 2017
Fixed in a364e7e.
Leko commentedon Dec 15, 2017
Thank you for your quick response :D