[wp-trac] [WordPress Trac] #34185: Excluding certain PHPUnit test groups results in "Database is dead" notice and tests terminate

WordPress Trac noreply at wordpress.org
Wed Oct 7 07:35:45 UTC 2015


#34185: Excluding certain PHPUnit test groups results in "Database is dead" notice
and tests terminate
------------------------------+-----------------------------
 Reporter:  netweb            |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:                    |
------------------------------+-----------------------------
 When excluding certain PHPUnit groups from the full test suite the tests
 fail with a "Database is dead" notice.

 Known groups thus far:

 * `phpunit --exclude-group import`
 * `phpunit --exclude-group query`

 {{{
 $ phpunit --exclude-group import
 Installing...
 Running as single site... To run multisite, use -c
 tests/phpunit/multisite.xml
 PHPUnit 4.7.7 by Sebastian Bergmann and contributors.

 .............................................................   61 / 4556
 (  1%)
 ...................................SS........................  122 / 4556
 (  2%)
 .............................................................  183 / 4556
 (  4%)
 .............................................................  244 / 4556
 (  5%)
 .S...........................................................  305 / 4556
 (  6%)
 .............................................................  366 / 4556
 (  8%)
 .............................................................  427 / 4556
 (  9%)
 .............................................................  488 / 4556
 ( 10%)
 .............................................................  549 / 4556
 ( 12%)
 .............................................................  610 / 4556
 ( 13%)
 .....................S....S..................................  671 / 4556
 ( 14%)
 ................................................S............  732 / 4556
 ( 16%)
 .............................................................  793 / 4556
 ( 17%)
 ..................................Database is dead.

 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34185>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list