test: fix flaky http2-flow-control test
PR-URL: https://github.com/nodejs/node/pull/20556 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
parent
cf44abbbfe
commit
ac89450326
@ -70,8 +70,6 @@ server.on('stream', (stream) => {
|
|||||||
client.destroy();
|
client.destroy();
|
||||||
}));
|
}));
|
||||||
stream.on('end', common.mustNotCall());
|
stream.on('end', common.mustNotCall());
|
||||||
stream.respond();
|
|
||||||
stream.end('ok');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
server.listen(0, () => {
|
server.listen(0, () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user