temporarily don't parallelize tests

This commit is contained in:
Joey Orlando 2024-06-11 11:53:06 -04:00
parent bece6e7ae4
commit c315299762
No known key found for this signature in database
GPG key ID: 469E88366B17F644

View file

@ -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