test: deflake test-http-remove-header-stays-removed · nodejs/node@82c4022 · GitHub
Skip to content

Commit 82c4022

Browse files
lpincamarco-ippolito
authored andcommitted
test: deflake test-http-remove-header-stays-removed
Instead of relying on a timer, verify that `socket.end()` is called when the `'finish'` event is emitted on the `ServerResponse` object. PR-URL: #55004 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
1 parent df1f049 commit 82c4022

1 file changed

Lines changed: 16 additions & 17 deletions

File tree

test/parallel/test-http-remove-header-stays-removed.js

Lines changed: 16 additions & 17 deletions

0 commit comments

Comments
 (0)