Skip to content

Commit 9873de3

Browse files
reduce timeout
1 parent 033c01d commit 9873de3

7 files changed

Lines changed: 33 additions & 33 deletions

File tree

.github/actions/run-qunit-tests/action.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,15 @@ runs:
3636
echo "MATRIX_ENVS_NAME_SAFE=$MATRIX_ENVS_NAME_SAFE"
3737
echo "MATRIX_ENVS_NAME_SAFE=$MATRIX_ENVS_NAME_SAFE" >> $GITHUB_ENV
3838
39-
# - name: Update apt
40-
# run: |
41-
# sudo apt-get update
39+
# - name: Setup Chrome
40+
# uses: ./.github/actions/setup-chrome-headless-shell
41+
# with:
42+
# chrome-version: '141.0.7390.122'
4243

43-
# - name: Setup utils
44-
# run: |
45-
# sudo apt-get install -y dbus-x11 httping x11vnc xvfb
46-
47-
- name: Setup Chrome
48-
uses: ./.github/actions/setup-chrome-headless-shell
49-
with:
50-
chrome-version: '141.0.7390.122'
51-
52-
- name: Use Node.js
53-
uses: actions/setup-node@v4
54-
with:
55-
node-version: '20'
44+
# - name: Use Node.js
45+
# uses: actions/setup-node@v4
46+
# with:
47+
# node-version: '20'
5648

5749
- name: Download artifacts
5850
uses: actions/download-artifact@v4
@@ -108,14 +100,13 @@ runs:
108100
NORENOVATION: "false"
109101
GITHUBACTION: "true"
110102
TARGET: "test"
111-
DISPLAY: ":99"
112103
CHROME_CMD: ${{ env.CHROME_SHELL }}
113104
run: |
114105
chmod +x ./docker-ci.sh
115106
./docker-ci.sh
116107
117108
- name: Copy RawLog.txt
118-
if: ${{ failure() }}
109+
if: ${{ always() }}
119110
uses: actions/upload-artifact@v4
120111
with:
121112
name: RawLog-${{ env.MATRIX_ENVS_NAME_SAFE }}

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,10 @@ npm run lint-staged
251251
- Checks wrapper regeneration is up-to-date
252252
- Timeout: 20 minutes
253253

254-
**5. QUnit Tests (`.github/workflows/qunit_tests-renovation.yml`):**
254+
**5. QUnit Tests (`.github/workflows/qunit_tests.yml`):**
255255
- Builds with `DEVEXTREME_TEST_CI=true`
256256
- Runs tests in parallel across multiple constellations
257-
- Timeout: 60 minutes
257+
- Timeout: 20 minutes
258258

259259
**6. TestCafe Tests (`.github/workflows/testcafe_tests.yml`):**
260260
- Accessibility tests across multiple themes

.github/workflows/qunit_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
working-directory: ./packages/devextreme
6969
shell: bash
7070
env:
71-
DEVEXTREME_TEST_CI: "true"
71+
# DEVEXTREME_TEST_CI: "true"
7272
DOTNET_CLI_TELEMETRY_OPTOUT: "true"
7373
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "true"
7474
run: pnpx nx build:systemjs
@@ -89,7 +89,7 @@ jobs:
8989
needs: build
9090
runs-on: devextreme-shr2
9191
name: Constel ${{ matrix.CONSTEL }}${{ matrix.TIMEZONE != '' && format('-{0}', matrix.TIMEZONE) || '' }}${{ matrix.CSP == 'false' && '-no-csp' || '' }}
92-
timeout-minutes: 30 # Reduced from 60: parallel execution should complete in 5-15 min max
92+
timeout-minutes: 20
9393
strategy:
9494
fail-fast: false
9595
matrix:

.github/workflows/testcafe_tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ jobs:
139139
working-directory: ./packages/devextreme
140140
run: 7z x artifacts.zip -aoa
141141

142-
- name: Setup Chrome
143-
uses: ./.github/actions/setup-chrome
144-
with:
145-
chrome-version: '141.0.7390.122'
142+
# - name: Setup Chrome
143+
# uses: ./.github/actions/setup-chrome
144+
# with:
145+
# chrome-version: '141.0.7390.122'
146146

147147
- name: Use Node.js
148148
uses: actions/setup-node@v4
@@ -187,19 +187,19 @@ jobs:
187187
pnpm run test $all_args
188188
189189
- name: Sanitize job name
190-
if: ${{ failure() }}
190+
if: ${{ always() }}
191191
run: echo "JOB_NAME=$(echo "${{ matrix.ARGS.name }}" | tr '/' '-')" >> $GITHUB_ENV
192192

193193
- name: Copy compared screenshot artifacts
194-
if: ${{ failure() }}
194+
if: ${{ always() }}
195195
uses: actions/upload-artifact@v4
196196
with:
197197
name: compared-screenshots-${{ env.JOB_NAME }}
198198
path: ${{ github.workspace }}/e2e/testcafe-devextreme/artifacts/compared-screenshots/**/*
199199
if-no-files-found: ignore
200200

201201
- name: Copy failed test artifacts
202-
if: ${{ failure() }}
202+
if: ${{ always() }}
203203
uses: actions/upload-artifact@v4
204204
with:
205205
name: failed-tests-${{ env.JOB_NAME }}
@@ -209,7 +209,7 @@ jobs:
209209
merge-artifacts:
210210
runs-on: devextreme-shr2
211211
needs: testcafe
212-
if: ${{ failure() }}
212+
if: ${{ always() }}
213213

214214
steps:
215215
- name: Merge screenshot artifacts

packages/devextreme/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@
7979
"script": "build:systemjs"
8080
},
8181
"dependsOn": [
82-
"build:dev"
82+
"^build"
8383
],
84-
"cache": false
84+
"cache": true
8585
},
8686
"lint-css": {
8787
"executor": "nx:run-script",

packages/devextreme/testing/runner/Program.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ public class Program
1919
{
2020
public static int Main(string[] argv)
2121
{
22+
ServicePointManager.DefaultConnectionLimit = 1000;
23+
ServicePointManager.MaxServicePointIdleTime = 10000;
24+
ServicePointManager.Expect100Continue = false;
25+
ServicePointManager.UseNagleAlgorithm = false;
26+
ServicePointManager.ReusePort = true;
27+
28+
ThreadPool.SetMinThreads(100, 100);
29+
ThreadPool.SetMaxThreads(1000, 1000);
30+
2231
try
2332
{
2433
var rootPath = Path.Combine(AppContext.BaseDirectory, "../../..");

packages/devextreme/testing/runner/Views/Main/RunAll.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
if(runWorkerInNewWindow)
110110
return 1; // NOTE: more than 1 window cause problems with tests that use focus
111111
112-
return 4;
112+
return 2;
113113
};
114114
115115
WORKER_COUNT = calcWorkerFrameCount();

0 commit comments

Comments
 (0)