summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests/test_lorem.py
diff options
context:
space:
mode:
authorCeesjan Luiten <ceesjan@ytec.nl>2021-05-21 16:49:01 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-06-10 07:32:15 +0200
commitcb6c19749d342c3dc0f97d89ff6887b220cf45b8 (patch)
tree911c7a6913243e29751ac0a056be54a55febb034 /tests/template_tests/syntax_tests/test_lorem.py
parented3af3ff4b3cfb72de598f1b39a1028ba3826efb (diff)
Refs #27734 -- Prevented creation of more parallel workers than TestCases.
The parallel test runner uses multiple workers to distribute the workload. These workers are assigned a worker ID using a globally incremented variable, which determines what test database to connect to. When the worker ID surpasses the test database IDs Django will crash. This reduce likelihood of crashing parallel tests because ParallelTestSuite will no longer create more workers than TestCases. It won't eliminate the problem completely though because there are other circumstances in which new workers can be created which can then be assigned an "illegal" worker ID.
Diffstat (limited to 'tests/template_tests/syntax_tests/test_lorem.py')
0 files changed, 0 insertions, 0 deletions