File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
tests/end-to-end/settings Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -490,10 +490,8 @@ jobs:
490
490
- name : Run "AppSec with timeout (captcha fallback)" test
491
491
run : |
492
492
# Add delay
493
- ddev exec -s crowdsec tc qdisc add dev eth0 root netem delay 1000ms
493
+ ddev exec -s crowdsec tc qdisc add dev eth0 root netem delay 500ms
494
494
cd ${{ github.workspace }}/${{env.EXTENSION_PATH}}
495
- # Remove display error
496
- sed -i 's/\x27display_errors\x27 => true/\x27display_errors\x27 => false/g' scripts/settings.php
497
495
cat scripts/settings.php
498
496
cd ${{ github.workspace }}/${{env.EXTENSION_PATH}}/tests/end-to-end/
499
497
./__scripts__/run-tests.sh ci "./__tests__/8-appsec-timeout-captcha.js"
Original file line number Diff line number Diff line change 8
8
'api_url' => 'https://crowdsec:8080',
9
9
'appsec_url' => 'http://crowdsec:7422',
10
10
'api_key' => 'REPLACE_API_KEY',
11
- 'api_timeout' => 1 ,
12
- 'api_connect_timeout' => 10 ,
11
+ 'api_timeout' => 10 ,
12
+ 'api_connect_timeout' => 5 ,
13
13
'appsec_timeout_ms' => Constants::APPSEC_TIMEOUT_MS,
14
14
'appsec_connect_timeout' => Constants::APPSEC_CONNECT_TIMEOUT_MS,
15
15
'use_curl' => false,
You can’t perform that action at this time.
0 commit comments