cloud-sql: Tests ignore unhandled promise rejections #1781
Labels
api: cloudsql
Issues related to the Cloud SQL for MySQL API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
I found this issue when adding a new check for #1745 .

Unhandled rejections are also an issue with the App Engine Cloud SQL samples:
https://source.cloud.google.com/results/invocations/f8c1a2e6-2247-478f-a4e1-0200c5f0f80c/targets/cloud-devrel%2Fnodejs-docs-samples%2Fpresubmit%2Fappengine%2Fnode8%2Fcloudsql_postgresql/log
It looks like the problem is that unhandled promise rejections still return a zero exit code, which is interpreted as a build success.
The text was updated successfully, but these errors were encountered: