#35967: TransactionTestCase.serialized_rollback reads from real database rather
than test when using read replica for a model instance created in a
migration with a ManyToManyField
-----------------------------------+---------------------------------------
     Reporter:  Jake Howard        |                    Owner:  Jacob Walls
         Type:  Bug                |                   Status:  assigned
    Component:  Testing framework  |                  Version:  dev
     Severity:  Normal             |               Resolution:
     Keywords:                     |             Triage Stage:  Accepted
    Has patch:  1                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+---------------------------------------
Changes (by Simon Charette):

 * has_patch:  0 => 1

Comment:

 Jacob & Jake, I submitted [https://github.com/django/django/pull/18949
 this PR] for review and I'd like to have your thoughts on it. I didn't
 manage to create an exact integration test as it would require creating a
 ''nested'' test database and ensure that no database queries can be
 performed against the testing database but it seems the chosen approach in
 there so far has been to rely heavily on mocking.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35967#comment:10>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070193d82542fa-e61dc8cf-06c3-4093-b190-01ca44cba174-000000%40eu-central-1.amazonses.com.

Reply via email to