[PATCH] test: fix test-socket-write-after-fin-error
authorLuigi Pinca <luigipinca@gmail.com>
Tue, 12 Jul 2022 20:11:10 +0000 (22:11 +0200)
committerJérémy Lal <kapouer@melix.org>
Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)
commit4c680887beb26228baa89c0c0d10b355a7b30266
tree35f96ac1689793845ecb2062cc82c1b3d91d2dd6
parent57eaf83ecee97352201c7eafa20aa8888162d085
[PATCH] test: fix test-socket-write-after-fin-error

The `'error'` event is not emitted because the socket is already
destroyed when `socket.write()` is called. Use the `socket.write()`
callback instead.

Gbp-Pq: Topic build
Gbp-Pq: Name upstream_uv_test_socket_write_after_fin_error.patch
test/parallel/parallel.status
test/parallel/test-socket-write-after-fin-error.js