test: tests for _readableStream.awaitDrain#8914
Conversation
There was a problem hiding this comment.
removed. maybe it's better to add lint rule and not to check this each time?
There was a problem hiding this comment.
I don't think we should add a new writer here. Why this change?
There was a problem hiding this comment.
I thought it's better to trace if the counter is not stuck on value 1 if we have multiple writers in pipeline. For example, if someone will breake the behavior of this counter and it will work as a flag, he will get error in this test.
|
@mcollina yep, I'll do that. I made a comment in issue. |
c133999 to
83c7a88
Compare
|
@shmuga any update on this? |
|
@shmuga do you still plan to move this forward, or might someone else take over? |
|
@mcollina can we merge this as is, and open another issue with the other test? |
|
@italoacasas, go ahead. LGTM |
|
Sorry guys, just found that I have no notifications for github on email. |
mcollina
left a comment
There was a problem hiding this comment.
The logic is good. Can you shorten up the assertion messages? we tend to put them in the present tense, without 'should'.
|
@mcollina hope I haven't missed anything now 😄 |
|
Failures are unrelated, merging. |
|
Landed as 21a077a. |
Fixes: nodejs#8684 PR-URL: nodejs#8914 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Fixes: nodejs#8684 PR-URL: nodejs#8914 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Fixes: nodejs#8684 PR-URL: nodejs#8914 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Fixes: nodejs#8684 PR-URL: nodejs#8914 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Checklist
make -j8 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
test
Description of change