diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-08-04 10:49:30 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-08-19 09:18:32 +0200 |
| commit | 36714be874fa9ba7c0229d97607906669615e409 (patch) | |
| tree | 8ae549d0c653f9ba373e4b930e1073d355720e3f /docs | |
| parent | c2a5735d8679c4d07ceb667cc5418f64ee372b60 (diff) | |
Refs #31621 -- Fixed handling --parallel option in test management command and runtests.py.
Regression in ae89daf46f83a7b39d599d289624c3377bfa4ab1.
Thanks Tim Graham for the report.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 0a346b5af7..c9618aa5fb 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1470,9 +1470,8 @@ multiple cores, this allows running tests significantly faster. Using ``--parallel`` without a value, or with the value ``auto``, runs one test process per core according to :func:`multiprocessing.cpu_count()`. You can override this by passing the desired number of processes, e.g. -``--parallel 4``. You can also enable ``--parallel`` without passing the flag -by setting the :envvar:`DJANGO_TEST_PROCESSES` environment variable to the -desired number of processes. +``--parallel 4``, or by setting the :envvar:`DJANGO_TEST_PROCESSES` environment +variable. Django distributes test cases — :class:`unittest.TestCase` subclasses — to subprocesses. If there are fewer test cases than configured processes, Django |
