Test database creation order problem after r14696
|Reported by:||russellm||Owned by:||russellm|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
However, in the process, it made the test database creation order subject to dictionary ordering. This is problematic because some database have dependencies on other databases during creation.
For example, Django's own test suite won't run if 'other' is created before 'default' because the post_syncdb signal causes a ContentTypes query to be issued, which will try to execute on the default database. If the default database hasn't been created, an error arises.
This is currently causing the buildbots to fail for Postgres.
Change History (7)
Changed 4 years ago by russellm
comment:1 Changed 4 years ago by russellm
- Has patch set
- Needs documentation unset
- Needs tests unset
- Owner changed from nobody to russellm
- Patch needs improvement set
- Status changed from new to assigned
- Triage Stage changed from Unreviewed to Accepted
comment:4 Changed 4 years ago by russellm
- Resolution set to fixed
- Status changed from assigned to closed