#23718: TEST_MIRROR setting doesn't work as expected (and has no tests)
-----------------------------------+------------------------------------
Reporter: coagulant | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 1.7
Severity: Normal | Resolution:
Keywords: replica testing | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+------------------------------------
Comment (by Atala):
Ran into the same issue, I think both the old (TEST_MIRROR) and new (TEST:
{MIRROR:) settings are not working. I had the issue running raw sql with
the connection cursor.
I am new in this part of the codebase & in databases connections, so I am
not really sure what's going on. In this gist:
https://gist.github.com/Atala/d5420ac426c79b45d4db , it's clear that the
two connections returned are not the same object (they should have same ID
no?) but are pointing to the same DB name. However a SELECT statement
will work only on the 'default' db, a SELECT against 'prestashop' will
return nothing (but the tables are correctly created).
I would be glad to help if you had some hints,
Aloïs
--
Ticket URL: <https://code.djangoproject.com/ticket/23718#comment:4>
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/067.170399f086ed31baa9315fd2c478eb5e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.