Skip to content

Commit 6536421

Browse files
ci(timeout): Use 450ms to delay to avoid failing tests
1 parent 556d4dc commit 6536421

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/end-to-end-auto-prepend-test-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ jobs:
220220
file_path: 11-appsec.js
221221

222222
- name: Prepare CrowdSec for AppSec timeout tests
223-
run: ddev exec -s crowdsec tc qdisc add dev eth0 root netem delay 1200ms
223+
run: ddev exec -s crowdsec tc qdisc add dev eth0 root netem delay 450ms
224224

225225
- name: Run AppSec timeout tests
226226
uses: ./wp-content/plugins/crowdsec/.github/workflows/end-to-end/run-single-test

.github/workflows/end-to-end-multisite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
subsite: ${{ matrix.subsite }}
213213

214214
- name: Prepare CrowdSec for AppSec timeout tests
215-
run: ddev exec -s crowdsec tc qdisc add dev eth0 root netem delay 1200ms
215+
run: ddev exec -s crowdsec tc qdisc add dev eth0 root netem delay 450ms
216216

217217
- name: Run AppSec timeout tests
218218
uses: ./wp-content/plugins/crowdsec/.github/workflows/end-to-end/run-single-test

.github/workflows/end-to-end-test-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ jobs:
205205
file_path: 11-appsec.js
206206

207207
- name: Prepare CrowdSec for AppSec timeout tests
208-
run: ddev exec -s crowdsec tc qdisc add dev eth0 root netem delay 1200ms
208+
run: ddev exec -s crowdsec tc qdisc add dev eth0 root netem delay 450ms
209209

210210
- name: Run AppSec timeout tests
211211
uses: ./wp-content/plugins/crowdsec/.github/workflows/end-to-end/run-single-test

.github/workflows/release-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ jobs:
236236
file_path: 11-appsec.js
237237

238238
- name: Prepare CrowdSec for AppSec timeout tests
239-
run: ddev exec -s crowdsec tc qdisc add dev eth0 root netem delay 1200ms
239+
run: ddev exec -s crowdsec tc qdisc add dev eth0 root netem delay 450ms
240240

241241
- name: Run AppSec timeout tests
242242
uses: ./wp-content/plugins/crowdsec/.github/workflows/end-to-end/run-single-test

0 commit comments

Comments
 (0)