#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 David Wobrock):
I do not think I have that much experience.
How did you implement the "pre-signal" solution? Do you have an open
PR/branch to check out the code :)
And did you have a look on the
[https://github.com/django/django/pull/17075 patching method] approach,
and play around with it?
I feel like it could be a working path - it mainly requires some test
fixing.
Replying to [comment:6 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:7>
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/0107018aebf59157-0f22c1cc-bb6a-44c4-999d-e85bb1ae72fe-000000%40eu-central-1.amazonses.com.