From 0586c061f0b857e2259bea48e21ebb69a7878d13 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 9 Feb 2015 22:00:09 +0100 Subject: Cloned databases for running tests in parallel. --- docs/ref/django-admin.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 939ea61731..3dd4cf3a6d 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1270,6 +1270,10 @@ By default ``--parallel`` runs one process per core according to either by providing it as the option's value, e.g. ``--parallel=4``, or by setting the ``DJANGO_TEST_PROCESSES`` environment variable. +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. + This option requires the third-party ``tblib`` package to display tracebacks correctly: -- cgit v1.3