[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)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 15 Nov 2022 03:51:54 +0000 (03:51 +0000)
commit27ff0fcb7a21434f2d6ef9bccba14201d5bd5d77
treef026d0238a9ebb82c5720fc82c3227d4f1c75a16
parent053d5908c2ab74ebef97ec2a1361d08651b12ce5
[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