[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>
Mon, 10 Oct 2022 08:49:19 +0000 (09:49 +0100)
commitccfb950a872c622c056ae4ce9f814326b0d4d00c
tree76cc1d848a624e8f1551193caeac96f7149e922f
parent8a627b8fc55f9e4e8cb6d56c4f981515f9d7388e
[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