Testmode: use ipv4 address to reduce dependency on local system configuration (#66968)

We've run into numerous issues with local system configurations that
prefer ipv6 and failing to connect to the test proxy.

---------

Co-authored-by: Zack Tanner <1939140+ztanner@users.noreply.github.com>
This commit is contained in:
Dima Voytenko 2024-06-18 00:24:59 -07:00 committed by GitHub
parent e931ec671c
commit dc461512d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,7 +58,7 @@ export async function createProxyServer({
})
await new Promise((resolve) => {
server.listen(0, 'localhost', () => {
server.listen(0, '::', () => {
resolve(undefined)
})
})