#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 Aaron Blair):
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:6>
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/0107018ae712462f-7de9f43b-3631-49ca-95f0-da3b163e3d91-000000%40eu-central-1.amazonses.com.