#22487: Moving from initial_data to data migrations stops test data persisting
-------------------------------------+-------------------------------------
Reporter: andrewgodwin | Owner:
Type: Bug | andrewgodwin
Component: Testing framework | Status: new
Severity: Release blocker | Version:
Keywords: | 1.7-beta-1
Has patch: 0 | Resolution:
Needs tests: 0 | Triage Stage: Accepted
Easy pickings: 0 | Needs documentation: 0
| Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timo):
* status: closed => new
* resolution: fixed =>
Comment:
This seems to be causing some (non-deterministic?) failures in
`proxy_model_inheritance.tests.ProxyModelInheritanceTests.test_table_exists`,
when running the full test suite:
{{{
Traceback (most recent call last):
File
"/mnt/jenkinsdata/workspace/django-1.7/database/sqlite3/python/python3.4/django/db/backends/utils.py",
line 65, in execute
return self.cursor.execute(sql, params)
File
"/mnt/jenkinsdata/workspace/django-1.7/database/sqlite3/python/python3.4/django/db/backends/sqlite3/base.py",
line 485, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: table "migration_test_data_persistence_book"
already exists
}}}
See:
* http://djangoci.com/job/django-master/95/
* http://djangoci.com/job/django-1.7/54/
I can reproduce it locally; not sure why ci.djangoproject.com doesn't
appear to be affected.
--
Ticket URL: <https://code.djangoproject.com/ticket/22487#comment:10>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.d6110534869ddf6bae89a3fa7020a217%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.