[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>
Wed, 9 Nov 2022 17:16:06 +0000 (17:16 +0000)
commit98cb8d640e3c506b006df1d26e597d295f0e27d9
treee2371b14cbae4a72f0cfad3672cc659b863e0ca0
parent1e106a94eb6181cfd1b07c619b0a58b8dde857ae
[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