Closed
Description
ws
fails on OS-X and on AIX on citgm all the time and this was originally reported in 2017 here: websockets/ws#1118
Example failure: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1418/nodes=osx1010/testReport/junit/(root)/citgm/ws_v5_1_1/
262 passing (4s)
1 failing
1) PerMessageDeflate
#compress and #decompress
doesn't call the callback twice when `maxPayload` is exceeded:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
It seemed this the failures started after adding the destroy functions. This was meant to be fixed later on but it seems like that fix did indeed not fix the issue or it was introduced later on again / a similar issue was introduced.
@nodejs/streams @mcollina @lpinca PTAL
I am not sure if this is an issue with Node.js core or with the ws
module.