BlockingProcessStreamReader.java doesn't log the error text and silently exits #9097
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
BlockingProcessStreamReader.java is a separate thread which checks for
blockUntil
text to appear in it's constructor.https://github.com/googleapis/java-core/blob/main/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java#L47-L61
In cases where process is abruptly closed and resulted in non zero exit code, BlockingProcessStreamReader.java doesn't log the startup logs(which may contain the error information). This causes confusion to the end user.
Steps to reproduce
gcloud beta emulators datastore startss
(notice the typo in command) to check the error text we get on stdout.Ref: Similar issue happened in googleapis/java-datastore#355.
The text was updated successfully, but these errors were encountered: