#23649 closed Uncategorized (fixed)
Oracle GIS testing -- fails to destroy old leftover test database after unclean ending
Description ¶
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)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Has patch: | set |
---|
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
PR: https://github.com/django/django/pull/3367