From e8203a24f3cf8a1f42923a34c03d45d0de47e9dd Mon Sep 17 00:00:00 2001 From: Stefan Guggisberg Date: Tue, 29 Oct 2024 11:33:26 +0100 Subject: [PATCH] chore: troubleshooting --- .github/workflows/main.yaml | 4 ++++ test/core/index.test.js | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 4a57ae2..2300ba8 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -20,6 +20,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20.x' + env: + NODE_OPTIONS: "--dns-result-order=ipv4first" - run: npm ci - run: npm run lint - run: npm test @@ -45,6 +47,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20.x' + env: + NODE_OPTIONS: "--dns-result-order=ipv4first" - run: npm ci - run: npm run semantic-release env: diff --git a/test/core/index.test.js b/test/core/index.test.js index 145500a..3572f9f 100644 --- a/test/core/index.test.js +++ b/test/core/index.test.js @@ -236,9 +236,6 @@ describe('Core Tests', () => { await defaultCtx.request('https://example.com:81/', { signal }); assert.fail(); } catch (err) { - console.log(err); - console.log(err.stack); - console.log(typeof err); assert(err instanceof RequestAbortedError); } const ts1 = Date.now();