Test database creation order problem after r14696
|Reported by:||Russell Keith-Magee||Owned by:||Russell Keith-Magee|
|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)
comment:1 Changed 6 years ago by
|Owner:||changed from nobody to Russell Keith-Magee|
|Patch needs improvement:||set|
|Status:||new → assigned|
|Triage Stage:||Unreviewed → Accepted|