Opened 10 years ago
Last modified 7 years ago
#36898 new defect (bug)
Have `grunt precommit` fail if the test DB is unreachable.
| Reported by: | peterwilsoncc | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
grunt precommit passes if the test DB is unreachable, preventing phpunit from running.
To recreate:
- Disable your local database
- Add a test guaranteed to fail
- Run
grunt precommit - The result will be
Done, without errors.
This could happen in the hypothetical event someone forgets to start their virtual machine.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
💯
The HHVM build is currently passing although there seems to be a database issue, see https://travis-ci.org/aaronjorbin/develop.wordpress/jobs/174664244.