Skip to content

Commit 89c8425

Browse files
committed
chore: Update runParams
1 parent 2479095 commit 89c8425

File tree

4 files changed

+6
-22
lines changed

4 files changed

+6
-22
lines changed

applications/common/deploy/values.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,5 @@ harness:
2323
api:
2424
enabled: true
2525
autotest: true
26-
runParams:
27-
- --phases
28-
- examples
29-
- --mode
30-
- positive
31-
- --max-examples
32-
- "10"
3326
checks:
3427
- all

applications/samples/deploy/values.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,14 @@ harness:
7878
checks:
7979
- all
8080
runParams:
81-
- "--skip-deprecated-operations"
81+
- "--exclude-deprecated"
8282
- "--exclude-operation-id=submit_sync"
8383
- "--exclude-operation-id=submit_sync_with_results"
8484
- "--exclude-operation-id=error"
85-
- "--hypothesis-suppress-health-check=too_slow"
86-
- "--hypothesis-deadline=180000"
85+
- "--suppress-health-check=too_slow"
8786
- "--request-timeout=180000"
88-
- "--hypothesis-max-examples=2"
89-
- "--show-trace"
90-
- "--exclude-checks=ignored_auth" # ignored_auth is not working on schemathesis 3.36.0
87+
- "--max-examples=2"
88+
- "--exclude-checks=ignored_auth"
9189

9290
dockerfile:
9391
buildArgs:

applications/workflows/deploy/values.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,5 @@ harness:
1616
api:
1717
enabled: true
1818
autotest: true
19-
runParams:
20-
- --mode
21-
- positive
22-
- --max-examples
23-
- "5"
24-
- --exclude-checks
25-
- response_schema_conformance,positive_data_acceptance
2619
checks:
2720
- all

tools/deployment-cli-tools/tests/test_codefresh.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,11 @@ def test_create_codefresh_configuration_tests():
241241
assert len(test_step["commands"]) == 2, "Both default and custom api tests should be run"
242242

243243
st_cmd = test_step["commands"][0]
244-
assert any("SCHEMATHESIS_HOOKS=cloudharness_test.apitest_init" in env for env in test_step['environment']), "Prerun hook must be specified in environment"
244+
assert any("SCHEMATHESIS_HOOKS=cloudharness_test.apitest_init" in env for env in test_step['environment']), "SCHEMATHESIS_HOOKS hook must be specified in environment"
245245
assert "api/openapi.yaml" in st_cmd, "Openapi file must be passed to the schemathesis command"
246246

247247
assert "-c all" in st_cmd, "Default check loaded is `all` on schemathesis command"
248-
assert "--hypothesis-deadline=" in st_cmd, "Custom parameters are loaded from values.yaml"
248+
assert "--exclude-deprecated" in st_cmd, "Custom parameters are loaded from values.yaml"
249249

250250
test_step = api_steps["common_api_test"]
251251
for volume in test_step["volumes"]:

0 commit comments

Comments
 (0)