#33277: SimpleTestCase does not block database connections in threads
-------------------------------------+-------------------------------------
Reporter: Daniel Hahler | Owner: Sulabh
| Katila
Type: New feature | Status: assigned
Component: Testing framework | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Sulabh Katila):
Hi David,
I've been grappling with this issue for a while now, and I haven't made
much progress. Given your expertise in this area, I'm reaching out for
some much-needed guidance.
To address this, I've been contemplating the idea of implementing a "pre-
signal" solution. However, I must admit that I'm currently stuck, and I'm
unsure about how to move forward.
I had initially considered intervening at the
BaseDataBaseWrapper.connect() level, but I haven't been able to find a
clear and effective path for implementation.
Since you have experience in related areas of this issue, I was hoping you
could provide some insights. What should I be looking for, or are there
alternative approaches that might be more suitable?
Thank you!
Replying to [comment:4 David Wobrock]:
> Hey Sulabh,
>
> I see you assigned yourself the ticket, that's great!
> I've started a [https://github.com/django/django/pull/17075 PR] some
months ago, feel free to check it out if it can give you some inspiration
:)
--
Ticket URL: <https://code.djangoproject.com/ticket/33277#comment:6>
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/0107018a721ac3b9-7e5f425a-f64b-44b2-9994-26c10f5f41b1-000000%40eu-central-1.amazonses.com.