mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-25 05:26:50 +00:00
ci(s3tests): stabilize HAProxy request handling (#6386)
This commit is contained in:
@@ -90,6 +90,10 @@ on:
|
|||||||
description: "Optional pytest -m expression"
|
description: "Optional pytest -m expression"
|
||||||
required: false
|
required: false
|
||||||
default: ""
|
default: ""
|
||||||
|
testexpr:
|
||||||
|
description: "Optional pytest -k expression"
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
schedule:
|
schedule:
|
||||||
# Weekly full sweep (Sunday 02:00 UTC): full suite, run against BOTH the
|
# Weekly full sweep (Sunday 02:00 UTC): full suite, run against BOTH the
|
||||||
# single-node and the 4-node distributed topologies (matrix below).
|
# single-node and the 4-node distributed topologies (matrix below).
|
||||||
@@ -116,6 +120,7 @@ env:
|
|||||||
XDIST: ${{ github.event.inputs.xdist || '4' }}
|
XDIST: ${{ github.event.inputs.xdist || '4' }}
|
||||||
MAXFAIL: ${{ github.event.inputs.maxfail || '0' }}
|
MAXFAIL: ${{ github.event.inputs.maxfail || '0' }}
|
||||||
MARKEXPR: ${{ github.event.inputs.markexpr || '' }}
|
MARKEXPR: ${{ github.event.inputs.markexpr || '' }}
|
||||||
|
TESTEXPR: ${{ github.event.inputs.testexpr || '' }}
|
||||||
S3_SHARD_COUNT: ${{ github.event_name == 'schedule' && '4' || github.event.inputs.shard-count || '1' }}
|
S3_SHARD_COUNT: ${{ github.event_name == 'schedule' && '4' || github.event.inputs.shard-count || '1' }}
|
||||||
TEST_TIMEOUT: "300"
|
TEST_TIMEOUT: "300"
|
||||||
|
|
||||||
@@ -269,14 +274,20 @@ jobs:
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat > haproxy.cfg <<'EOF'
|
cat > haproxy.cfg <<'EOF'
|
||||||
|
global
|
||||||
|
log stdout format raw local0 info
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
|
log global
|
||||||
|
log-format '%ci:%cp [%tr] %ft %b/%s %TR/%Tw/%Tc/%Tr/%Ta %ST %B %tsc %HM %HP'
|
||||||
timeout connect 5s
|
timeout connect 5s
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
|
||||||
frontend fe_s3
|
frontend fe_s3
|
||||||
bind *:9000
|
bind *:9000
|
||||||
|
option http-buffer-request
|
||||||
default_backend be_s3
|
default_backend be_s3
|
||||||
|
|
||||||
backend be_s3
|
backend be_s3
|
||||||
@@ -314,6 +325,7 @@ jobs:
|
|||||||
XDIST="${XDIST}" \
|
XDIST="${XDIST}" \
|
||||||
MAXFAIL="${MAXFAIL}" \
|
MAXFAIL="${MAXFAIL}" \
|
||||||
MARKEXPR="${MARKEXPR}" \
|
MARKEXPR="${MARKEXPR}" \
|
||||||
|
TESTEXPR="${TESTEXPR}" \
|
||||||
./scripts/s3-tests/run.sh
|
./scripts/s3-tests/run.sh
|
||||||
|
|
||||||
- name: Publish compatibility report
|
- name: Publish compatibility report
|
||||||
|
|||||||
Reference in New Issue
Block a user