#22420: Postgresql connections not being dropped between tests? -----------------------------------+-------------------------------------- Reporter: bacongobbler | Owner: nobody Type: Bug | Status: new Component: Testing framework | Version: 1.6 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 EricBoersma): Replying to [comment:10 gabrtv]: > At first blush, it seems like TransactionTestCase may not be threadsafe. That would appear to be a reasonable assumption. We're still seeing the issue in our main project and the workaround that you posted is intermittently successful, but I'm still seeing the error pop up from time to time, specifically when running tests that result in errors which are running through the `.request()` method. I will try to find a way to create a minimal test case this weekend. -- Ticket URL: <https://code.djangoproject.com/ticket/22420#comment:11> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/070.e9f0752424c34e3051368a4373f6864c%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.