#33855: System check calls are unnecessary in test worker initialization.
---------------------------------------------+------------------------
Reporter: Mariusz Felisiak | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 4.1
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------------+------------------------
3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc added calling system checks to
initialization of each test worker. I don't see any reason to do this, it
slows down tests (`check` is called with all `databases` for each alias
and once more in `DiscoverRunner.run_tests()`) and can cause crashes as
some checks require database access.
It seems that it was added to satisfy
`check_framework.tests.ChecksRunDuringTests.test_registered_check_did_run`
on `spawn`. IMO we can skip this test on `spawn`.
--
Ticket URL: <https://code.djangoproject.com/ticket/33855>
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/01070182100578eb-6225b4e2-2816-471f-856f-c9b79a9a7a5d-000000%40eu-central-1.amazonses.com.