#23649: Oracle GIS testing -- fails to destroy old leftover test database after unclean ending -------------------------------------+------------------------------------- Reporter: shaib | Owner: shaib Type: Uncategorized | Status: closed Component: Database layer | Version: master (models, ORM) | Resolution: fixed Severity: Normal | Triage Stage: Accepted Keywords: oracle testing | Needs documentation: 0 geodjango gis | Patch needs improvement: 0 Has patch: 1 | UI/UX: 0 Needs tests: 0 | Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by Shai Berger <shai@…>):
* status: assigned => closed * resolution: => fixed Comment: In [changeset:"2e1ed5f33cf5756b52a10ceadd0ce8e9ecf989e3"]: {{{ #!CommitTicketReference repository="" revision="2e1ed5f33cf5756b52a10ceadd0ce8e9ecf989e3" Fixed #23649 -- Made Oracle test-db creation drop test-user earlier when needed Checked database destruction for ORA-29857, which happens when objects of some types are left over in an old test database (notably, such objects are created by the GIS backend). When this happens, we can resolve the issue by dropping the test-user (if we are allowed to). An alternative approach, to just switch the order of creation (so that, if the test user exists and can be dropped, it is always dropped before the tablespace) was considered; but since the user creation depends on the tablespace, this would necessitate separating the dropping of the user from its creation -- a change I am reluctant to make. Thanks Josh Smeaton and Tim Graham for reviews. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/23649#comment:4> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/063.5a50831ae01dda112d86915b0e3a74e8%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.