Unverified Commit 30da3323 authored by Rich Trott's avatar Rich Trott Committed by Myles Borins
Browse files

test: fix flaky test-heapdump-http2



Replace stream.respondWithFile(__filename) with
stream.respondWithFile(process.execPath). The test file is probably
small enough on some operating systems to be sent immediately, without
waiting for the receiving side to do anything.

The fix was figured out by addaleax.

Co-authored-by: default avatarAnna Henningsen <anna@addaleax.net>
Ref: https://github.com/nodejs/node/issues/34389#issuecomment-659297173
Fixes: https://github.com/nodejs/node/issues/34389

PR-URL: https://github.com/nodejs/node/pull/34415
Refs: https://github.com/nodejs/node/issues/34389


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarRichard Lau <riclau@uk.ibm.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
parent 4a828c6c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment