#12118: in-memory test database does not work with threads
-------------------------------------+-------------------------------------
Reporter: bluebird75 | Owner: coldmind
Type: New feature | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: threads | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by hjwp):
Incidentally, in case it's of use to anyone else that's temporarily stuck
on an earlier versions of django, you can hack a workaround for this by
using a path in `/dev/shm` in `TEST_NAME`:
{{{
DATABASES['default']['TEST_NAME'] = '/dev/shm/myproject-
djangotestdb.sqlite'
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/12118#comment:9>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.7fa6461bc538ca3543544e44dd91ce9f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.