temporarily don't parallelize tests
This commit is contained in:
parent
bece6e7ae4
commit
c315299762
1 changed files with 4 additions and 1 deletions
|
|
@ -11,6 +11,9 @@ banned-modules =
|
|||
# https://pytest-django.readthedocs.io/en/latest/configuring_django.html#order-of-choosing-settings
|
||||
# https://pytest-django.readthedocs.io/en/latest/database.html
|
||||
# https://pytest-xdist.readthedocs.io/en/stable/distribution.html#running-tests-across-multiple-cpus
|
||||
addopts = -n auto --dist=loadfile --no-migrations --color=yes --showlocals
|
||||
#
|
||||
# --dist no = temporarily disable xdist as it's leading to flaky tests :(
|
||||
# https://github.com/grafana/oncall-private/issues/2733
|
||||
addopts = --dist no --no-migrations --color=yes --showlocals
|
||||
# https://pytest-django.readthedocs.io/en/latest/faq.html#my-tests-are-not-being-found-why
|
||||
python_files = tests.py test_*.py *_tests.py
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue