Agoric / dapp-inter

User application for Agoric Inter Protocol—Vaults, BLD Boost, Liquidations, etc.
2 stars 7 forks source link

fix CI failures for e2e tests #316

Closed rabi-siddique closed 3 weeks ago

rabi-siddique commented 3 weeks ago

Recently, the e2e tests across all dApps have been consistently failing. The failure happens where Cypress appears to use IPv6, causing the tests to fail in the CI setup. The underlying infrastructure of GitHub Actions may have different network configurations across different runs. Sometimes, the environment might resolve localhost to 127.0.0.1 (IPv4), while other times it might resolve to ::1 (IPv6), leading to inconsistencies in the connection check.

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

github-actions[bot] commented 3 weeks ago

Network: Commit: 1f9fd07385f9e7222d729cdf52c5e2fffca7a97e Ref: refs/heads/main IPFS v1 hash: bafybeigauccwid52g2wmehr5gxp7xwcjsdq7wiv7rubnpzggamfiesg5pm CF - DWeb - 4EVERLAND