Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#25421 closed Bug (fixed)

Twice run tests with --keepdb option in Oracle fails

Reported by: Mariusz Felisiak Owned by: Mariusz Felisiak
Component: Database layer (models, ORM) Version: 1.8
Severity: Normal Keywords: Oracle test keepdb
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Twice run tests with --keepdb option in Oracle fails

Using existing test database for alias 'default'...
Failed (ORA-01543: tablespace 'TEST_DJANGO_TEST' already exists
)

To reproduce this:

  • run test with keepdb option: ./manage.py test --keepdb
  • repeat it

Change History (9)

comment:1 by Mariusz Felisiak, 9 years ago

Owner: changed from nobody to Mariusz Felisiak
Status: newassigned

comment:2 by Shai Berger, 9 years ago

Note that the Oracle backend has had, for a very long time, the CREATE_DB and CREATE_USER test settings that let you achieve an effect similar to --keepdb.

comment:3 by Tim Graham, 9 years ago

Has patch: set
Triage Stage: UnreviewedAccepted

comment:4 by Tim Graham, 9 years ago

Patch needs improvement: set

Shai and I left some comments for improvement.

comment:5 by Mariusz Felisiak, 9 years ago

I made a little mess in 5312 PR with rebase, and I need to close it. New one is open PR and ready to check I have followed your comments.

Last edited 9 years ago by Mariusz Felisiak (previous) (diff)

comment:6 by Mariusz Felisiak, 9 years ago

Patch needs improvement: unset

comment:7 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

In a3a6def:

Fixed #25421 -- Fixed test --keepdb option on Oracle.

comment:8 by Tim Graham <timograham@…>, 9 years ago

In 6a0b4faf:

[1.9.x] Fixed #25421 -- Fixed test --keepdb option on Oracle.

Backport of a3a6def867c61d24dfded6cbfef7f820409dc739 from master

comment:9 by Tim Graham <timograham@…>, 9 years ago

In cb2de5e2:

[1.8.x] Fixed #25421 -- Fixed test --keepdb option on Oracle.

Backport of a3a6def867c61d24dfded6cbfef7f820409dc739 from master

Note: See TracTickets for help on using tickets.
Back to Top