Skip to content

Commit 1c27810

Browse files
authored
ci(e2e): add same Windows perf config as for integration tests (#7207)
* ci: remove leftover DEBUG env vars * ci(e2e): add same Windows perf config as for integration tests We have this in the integration test setup, and e2e tests are excruciatingly slow on Windows (4-7 mins PER TEST), so let's give this a try.
1 parent 506fef8 commit 1c27810

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,19 @@ jobs:
1717
name: E2E Windows tests
1818
runs-on: ${{ matrix.os }}
1919
timeout-minutes: 20
20-
env:
21-
DEBUG: true
2220
strategy:
2321
matrix:
2422
os: [windows-latest]
2523
# Pinning 20.x version as a temporary workaround due to this https://github.com/nodejs/node/issues/52884
2624
node-version: ['18.14.0', '20.12.2', '22']
2725
fail-fast: false
2826
steps:
27+
# This improves Windows network performance. We need this since we open many ports in our tests.
28+
- name: Increase Windows port limit and reduce time wait delay
29+
run: |
30+
netsh int ipv4 set dynamicport tcp start=1025 num=64511
31+
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters /v TcpTimedWaitDelay /t REG_DWORD /d 30 /f
32+
2933
- name: Git checkout
3034
uses: actions/checkout@v4
3135
with:
@@ -72,8 +76,6 @@ jobs:
7276
name: E2E
7377
runs-on: ${{ matrix.os }}
7478
timeout-minutes: 10
75-
env:
76-
DEBUG: true
7779
strategy:
7880
matrix:
7981
os: [ubuntu-latest, macOS-latest]

0 commit comments

Comments
 (0)