#14799: Test database creation order problem after r14696
-------------------------------+--------------------------------------------
 Reporter:  russellm           |       Owner:  nobody    
   Status:  new                |   Milestone:  1.3       
Component:  Testing framework  |     Version:  1.2       
 Keywords:                     |       Stage:  Unreviewed
Has_patch:  0                  |  
-------------------------------+--------------------------------------------
 r14696 added a fix for #14415, changing the way test databases are created
 to ensure that the test setup/teardown process doesn't accidentally
 destroy the original source database.

 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.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14799>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to