#29043: test --keepdb says "Using existing test database" even if it's run for 
the
first time
-------------------------------------+-------------------------------------
     Reporter:  karyon               |                    Owner:  Hasan
         Type:                       |  Ramezani
  Cleanup/optimization               |                   Status:  assigned
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

 * needs_better_patch:  0 => 1


Comment:

 As per comments on the [https://github.com/django/django/pull/11437 PR], I
 agree with Tim's original comment: the extra code added just isn't worth
 the benefit.

 We catch exceptions from `_execute_create_test_db()`. Maybe we could add
 some additional output in the `if keepdb` branch there, just to clarify
 the existing message.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29043#comment:5>
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/064.6d2f240e6da7b0d98a3c7cfbf15abca1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to