Oracle GIS testing -- fails to destroy old leftover test database after unclean ending
If you run Django tests and they end without proper clean-up (e.g. the test process is forcibly killed) then the next test run will try to destroy the test-database before rebuilding it from scratch.
On Oracle GIS, this destroy-leftover-database process fails, because the backend tries to drop the test tablespace (DROP TABLESPACE TEST_DB INCLUDING CONTENTS
), and for some reason the GIS artifacts make this fail.
The workaround is to drop first the test user (DROP USER TEST_USER CASCADE
), but currently this needs to be done manually.
Change History
(8)
Owner: |
changed from nobody to Shai Berger
|
Status: |
new → assigned
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR: https://github.com/django/django/pull/3367