#31055: Omits test_ prefix from database name when running subset of tests
-----------------------------------+------------------------------------
     Reporter:  Matthijs Kooijman  |                    Owner:  nobody
         Type:  Bug                |                   Status:  new
    Component:  Testing framework  |                  Version:  master
     Severity:  Normal             |               Resolution:
     Keywords:                     |             Triage Stage:  Accepted
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+------------------------------------
Changes (by Carlton Gibson):

 * stage:  Unreviewed => Accepted


Comment:

 OK, wowser, yes. Good one.

 Running all the tests we create both DBs:

 {{{
 $ ./runtests.py  --parallel=1
 Testing against Django installed in '.../django'
 Creating test database for alias 'default'...
 Creating test database for alias 'other'...
 System check identified no issues (14 silenced).
 }}}

 vs

 {{{
 $ ./runtests.py  --parallel=1 timezones
 Testing against Django installed in '.../django'
 Creating test database for alias 'default'...
 System check identified no issues (0 silenced).
 }}}

 How best we should disable the `other` alias in this circumstance is a
 good question, but presumably this should work.
 Thanks for the report.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31055#comment:2>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/074.22ffcbebeb1da7ecaf63773c7cf3d4a2%40djangoproject.com.

Reply via email to