#34852: Django Unit Tests break when using replicated MySQL Cluster v8.0.28
------------------------------------+-------------------------------------
     Reporter:  Aaron Blair         |                    Owner:  Can Huynh
         Type:  Bug                 |                   Status:  assigned
    Component:  Testing framework   |                  Version:  4.1
     Severity:  Normal              |               Resolution:
     Keywords:  Test MySQL Cluster  |             Triage Stage:  Accepted
    Has patch:  0                   |      Needs documentation:  0
  Needs tests:  0                   |  Patch needs improvement:  0
Easy pickings:  1                   |                    UI/UX:  0
------------------------------------+-------------------------------------

Comment (by Can Huynh):

 Replying to [comment:6 Aaron Blair]:

 Can you guide me on how you set up your unit test and what your test
 output looked like, if possible? I have attached my test suits and test
 output, please let me know if there is anything I need to modify. Thank
 you in advance and sorry for being inactive for a long time.

 [[Image(        test_case.png​)]] [[Image(test_output.png)]]

 > Replying to [comment:5 Can Huynh]:
 > > Can I get an instruction on how to reproduce this issue?
 >
 > Install MySQL Cluster server v8.0.28 onto multiple (say 3) servers and
 start replication.
 > Install Django (any version that uses cursor.execute("CREATE TABLE
 ROLLBACK_TEST (X INT)") in django.db.backends.base.features.py this exists
 on 4.1 but it was there for several versions previous to 4.1 as well)
 > Create any model that uses autocreate id as pk (ie do not specify an id
 or pk field)
 > Write any unit test bases on django.test.TestCase for the model which
 accesses the db
 > Run the unit test

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34852#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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018ba846d251-eed5904b-dbec-4df7-9232-5018212c78c6-000000%40eu-central-1.amazonses.com.

Reply via email to