diff --git a/engine/tox.ini b/engine/tox.ini index 6fd3d3b6..5707e1df 100644 --- a/engine/tox.ini +++ b/engine/tox.ini @@ -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