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: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Build/Test Tools | Keywords: | needs-patch |
| Focuses: | Cc: |
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.
💯
The HHVM build is currently passing although there seems to be a database issue, see https://travis-ci.org/aaronjorbin/develop.wordpress/jobs/174664244.