Skip to content

Commit a72a22d

Browse files
committed
add HYPOTHESIS_DEADLINE to schemathesis vars and extend it for nightly
1 parent 8ecf29d commit a72a22d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/nightly-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
run: |
9292
export HYPOTHESIS_MAX_EXAMPLES=5000
9393
export MAX_RESPONSE_TIME=25000
94+
export HYPOTHESIS_DEADLINE=25000
9495
docker compose -f catalyst-gateway/tests/docker-compose.yml up schemathesis-runner --exit-code-from schemathesis-runner
9596
9697
- name: Spin up catalyst-gateway with haproxy

catalyst-gateway/tests/schemathesis_tests/entry.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ st run --checks=all ${API_SPEC} \
1010
--wait-for-schema=${WAIT_FOR_SCHEMA} \
1111
--max-response-time=${MAX_RESPONSE_TIME} \
1212
--hypothesis-max-examples=${HYPOTHESIS_MAX_EXAMPLES} \
13+
--hypothesis-deadline=${HYPOTHESIS_DEADLINE:-15000} \
1314
--data-generation-method=all \
1415
--exclude-deprecated \
1516
--force-schema-version=30 \
1617
--show-trace \
1718
--force-color \
1819
--junit-xml=/results/junit-report.xml \
1920
--cassette-path=/results/cassette.yaml \
20-
${SEED:-}
21+
${SEED:-}

0 commit comments

Comments
 (0)