Skip to content

Commit 12fc173

Browse files
committed
allow control over pytest concurrency
1 parent 998a117 commit 12fc173

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ lint:
2727
test:
2828
pytest -m 'not integration and not benchmark' --cov=databricks --cov-report html tests
2929

30+
PYTEST_CONCURRENCY ?= auto
3031
integration:
31-
pytest -n auto -m 'integration and not benchmark' --reruns 2 --dist loadgroup --cov=databricks --cov-report html tests
32+
pytest -n $(PYTEST_CONCURRENCY) -m 'integration and not benchmark' --reruns 2 --dist loadgroup --cov=databricks --cov-report html tests
3233

3334
benchmark:
3435
pytest -m 'benchmark' tests

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Documentation
1010

1111
### Internal Changes
12+
* Allow control over pytest concurrency ([#894](https://github.com/databricks/databricks-sdk-py/pull/894))
1213
* Introduce automated tagging ([#888](https://github.com/databricks/databricks-sdk-py/pull/888))
1314
* Update Jobs GetJob API to support paginated responses ([#869](https://github.com/databricks/databricks-sdk-py/pull/869)).
1415

0 commit comments

Comments
 (0)