#35921: migration_test_data_persistence fails when running with parallelism > 1 and
Postgres
-------------------------------------+-------------------------------------
Reporter: Raphael Gaschignard | Owner: Jacob
Type: | Walls
Cleanup/optimization | 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 Jacob Walls):
* has_patch: 0 => 1
* owner: (none) => Jacob Walls
* stage: Unreviewed => Accepted
* status: new => assigned
* type: Bug => Cleanup/optimization
Comment:
Nice catch, looks like I just need to add `allow_cascade=True` in the
`sqlflush` call in the test setup.
[
https://github.com/django/django/pull/18831 PR]
--
Ticket URL: <
https://code.djangoproject.com/ticket/35921#comment:6>