Unverified Commit 7d4b7724 authored by Bryan English's avatar Bryan English Committed by Ruben Bridgewater
Browse files

test: fix flaky test-http-dns-error

Under some conditions, the error received from getaddrinfo might
actually be EAGAIN, meaning the request should be retried. Allowing for
5 retries before erroring out.

Also replace one-off function with common.mustNotCall().

PR-URL: https://github.com/nodejs/node/pull/16534


Reviewed-By: default avatarRefael Ackermann <refack@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent ac7f1e33
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