Agoric / wallet-app

Site for wallet.agoric.app
https://wallet.agoric.app/
2 stars 7 forks source link

ci: prefer ipv4 dns resolution for e2e tests #170

Closed rabi-siddique closed 4 months ago

rabi-siddique commented 4 months ago

Recently, the end-to-end (e2e) tests for all dApps have been consistently failing. The underlying infrastructure of GitHub Actions can have different network configurations across different runs. Sometimes, the environment resolves localhost to 127.0.0.1 (IPv4), while other times it resolves to ::1 (IPv6), leading to inconsistencies in the connection check. See this issue for details.

The solution implemented in this PR sets the environment variable NODE_OPTIONS=--dns-result-order=ipv4first to prioritize IPv4 DNS resolution.