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.
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.