Skip to content

Commit 0882c3d

Browse files
SNOW-2416541 allow passing PYTEST_ARGS in run_tests_preprod.sh (#2691)
1 parent b3dfc99 commit 0882c3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ features = ["development"]
154154

155155
[tool.hatch.envs.integration.scripts]
156156
test = [
157-
'pytest -m "integration and not qa_only" -n5 --dist=worksteal --deflake-test-type=integration --ignore=tests_integration/tests_using_container_services tests_integration/',
157+
'pytest -m "integration and not qa_only" -n5 --dist=worksteal --deflake-test-type=integration --ignore=tests_integration/tests_using_container_services tests_integration/ {args}',
158158
]
159159
test_container_services = [
160160
"pytest -m integration -n5 --dist=worksteal --deflake-test-type=integration tests_integration/tests_using_container_services",

scripts/run_tests_preprod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ python -m hatch env create integration
77
python -m hatch run e2e:cleanup
88

99
echo "Run test"
10-
python -m hatch run integration:test
10+
python -m hatch run integration:test ${PYTEST_ARGS}

0 commit comments

Comments
 (0)