Skip to content

Commit

Permalink
Attempt to fix ERR_NETWORK_CHANGED (#3878)
Browse files Browse the repository at this point in the history
Attempts to fix CI pipeline ERR_NETWORK_CHANGED by setting DNS to specific address before running tests

Affects issues:
- Close #3535
  • Loading branch information
AuroraLS3 authored Dec 7, 2024
1 parent e872f05 commit 757bd55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ jobs:
while ! mysqladmin ping -h"127.0.0.1" -P"$PORT" --silent; do
sleep 1
done
- name: 📶 Setup DNS to avoid ERR_NETWORK_CHANGED
run: |
sudo resolvectl dns eth0 1.1.1.1
sudo resolvectl domain eth0 "~."
- name: 🩺 Test
env:
MYSQL_DB: test
Expand Down

0 comments on commit 757bd55

Please sign in to comment.