Opened 7 months ago

Last modified 7 months ago

#29043 new Cleanup/optimization

test --keepdb says "Using existing test database" even if it's run for the first time

Reported by: karyon Owned by: nobody
Component: Database layer (models, ORM) Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by karyon)

The title says it, test --keepdb says Using existing test database for alias even if that option hasn't been used before and there is no db to reuse.

besides, in my project the full output is

Using existing test database for alias 'default'...
Cache table 'evap_db_cache' already exists.
System check identified no issues (0 silenced).
<snip>

i think the second line is weird and provides no value, i think it can simply be removed.

Change History (2)

comment:1 Changed 7 months ago by karyon

Description: modified (diff)

comment:2 Changed 7 months ago by Tim Graham

Component: UncategorizedDatabase layer (models, ORM)
Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

I'm not sure that fixing this won't add more complexity than it's worth, but we could evaluate a patch.

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