Files
node/test/parallel
Trivikram Kamat a4aa3c02cc test: fix flaky HTTP/2 reset callback check
The test assumed that all pending write callbacks would run within two
event loop iterations after the stream closed. Callbacks for writes
already handed to the socket can run later, causing a flaky assertion.

Wait for the stream to close and all expected write callbacks to run
before closing the server.

Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Assisted-by: codex:gpt-5.6-sol
PR-URL: https://github.com/nodejs/node/pull/64730
Refs: https://github.com/nodejs/reliability/issues?q=sort%3Aupdated-desc%20test-http2-reset-happy-close
Reviewed-By: Tim Perry <pimterry@gmail.com>
2026-08-01 14:51:11 +00:00
..
2026-08-01 14:48:00 +02:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00