summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorCaio Ariede <caio.ariede@gmail.com>2019-06-05 11:35:36 -0300
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-08 12:34:02 +0200
commit5e91adc79d2fd79821be43007b99ba9982a0358c (patch)
treeaed0c2c3685643b838f8d58fd646da285f8d4323 /docs/ref
parent46a05e10a420deae3158c502ce58cf25ab59ccb1 (diff)
[2.2.x] Fixed #28790 -- Doc'd how to avoid running certain test classes in parallel.
Backport of dafdfd6a60638c4edcca7c4e65d11c0af654d759 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 66e92bae6d..f2029e9b19 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1397,6 +1397,12 @@ Each process gets its own database. You must ensure that different test cases
don't access the same resources. For instance, test cases that touch the
filesystem should create a temporary directory for their own use.
+.. note::
+
+ If you have test classes that cannot be run in parallel, you can use
+ ``SerializeMixin`` to run them sequentially. See :ref:`Enforce running test
+ classes sequentially <topics-testing-enforce-run-sequentially>`.
+
This option requires the third-party ``tblib`` package to display tracebacks
correctly: