[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, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)
commitc42ffc762d1c89dcd1faca203fe80800a1c0d04f
tree489c35884e3014bd9dc42f6c3d5bb5df3234c165
parent0b2d8e65929f0fe4bf54c43a08668e4e442bf1ce
[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