Skip to content

Commit

Permalink
Merge pull request #151 from Agoric/rs-fix-ci-failure-for-e2e-tests
Browse files Browse the repository at this point in the history
fix CI failure of e2e tests
  • Loading branch information
rabi-siddique authored Jun 14, 2024
2 parents a82009a + bde01c8 commit 0003b60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
phrase:
description: 'The mnemonic phrase for the account to use in testing'
required: false
type: text
type: string

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label ||
Expand Down
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# syntax=docker/dockerfile:1
FROM --platform=linux/amd64 synthetixio/docker-e2e:18.16-ubuntu as base

# Recent e2e test failures for all dApps were due to inconsistent network configurations in the CI setup.
# GitHub Actions infrastructure can resolve localhost inconsistently (IPv4 or IPv6).
# To address this, we set NODE_OPTIONS=--dns-result-order=ipv4first to prioritize IPv4 DNS resolution.
# For more details, see: https://github.com/cypress-io/cypress/issues/27962
ENV NODE_OPTIONS=--dns-result-order=ipv4first

RUN mkdir /app
WORKDIR /app

Expand Down

0 comments on commit 0003b60

Please sign in to comment.