summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/test/runner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/django/test/runner.py b/django/test/runner.py
index 8902dea3e0..25089a6db1 100644
--- a/django/test/runner.py
+++ b/django/test/runner.py
@@ -566,6 +566,9 @@ class ParallelTestSuite(unittest.TestSuite):
(self.runner_class, index, subsuite, self.failfast, self.buffer)
for index, subsuite in enumerate(self.subsuites)
]
+ # Don't buffer in the main process to avoid error propagation issues.
+ result.buffer = False
+
test_results = pool.imap_unordered(self.run_subsuite.__func__, args)
while True: