[wp-trac] [WordPress Trac] #36898: Have `grunt precommit` fail if the test DB is unreachable.
WordPress Trac
noreply at wordpress.org
Sat May 21 06:18:17 UTC 2016
#36898: Have `grunt precommit` fail if the test DB is unreachable.
------------------------------+-----------------------------
Reporter: peterwilsoncc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
------------------------------+-----------------------------
`grunt precommit` passes if the test DB is unreachable, preventing phpunit
from running.
To recreate:
1. Disable your local database
2. Add a test guaranteed to fail
3. Run `grunt precommit`
4. The result will be `Done, without errors.`
This could happen in the hypothetical event someone forgets to start their
virtual machine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36898>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list