#32769: Fix for sporadically crashing parallel test runner
-----------------------------------+--------------------------------------
     Reporter:  quinox             |                    Owner:  nobody
         Type:  Bug                |                   Status:  closed
    Component:  Testing framework  |                  Version:  2.2
     Severity:  Normal             |               Resolution:  duplicate
     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 quinox):

 Hey Mariusz,

 Thanks for taking this up.

 I've verified that using Python 3.8.5 and the main branch:
 * **without the patch** the crashes still occur
 * **with the patch** the crashes no longer occur

 I see that with the patch it will create 4 DBs again, even though there
 are only 2 needed (since it can only run 2 classes in parallel). I'm fine
 with this: having Django not crash is far, far more important than the
 ~250ms spent on creating a not-needed DB.

 I'll make a PR using your code.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32769#comment:3>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.0f5eddfe14f956383c3b66fd0c864d84%40djangoproject.com.

Reply via email to