#35010: Parallel test runner hangs if one of the tests segfault -----------------------------------+-------------------------------------- Reporter: Michał Górny | Owner: nobody Type: Bug | Status: new Component: Testing framework | Version: dev Severity: Normal | Resolution: Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -----------------------------------+--------------------------------------
Comment (by Simon Charette): I'm afraid this will be very hard to solve [https://bugs.python.org/issue22393 as this is bug] `multiprocessing.Pool`. A solution alluded to in the Python bug report is to use `concurrent.futures.ProcessPoolExecutor` instead as it doesn't seem to be affected by this problem. Would you be interested in trying to [https://github.com/django/django/blob/14884b6be89963c8ceb2c9da459ed8421aea3bf8/django/test/runner.py#L516-L528 adapt the current solution]? -- Ticket URL: <https://code.djangoproject.com/ticket/35010#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018c37d74d5e-369df07e-87b2-422a-846a-9d34eb746b3f-000000%40eu-central-1.amazonses.com.