Open pomu0325 opened 3 years ago
It seems the issue here is likely that the process is blocking on https://github.com/googleapis/java-datastore/blob/master/google-cloud-datastore/src/main/java/com/google/cloud/datastore/testing/LocalDatastoreHelper.java#L273 which never occurs as the components aren't present.
Perhaps this method https://github.com/googleapis/java-core/blob/375983090b3700b3fb6a1953626db7efca49cc51/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java#L94 needs a timeout?
@prash-mi Can you or @jainsahab take a look?
Environment details
Steps to reproduce
beta
component:gcloud components remove beta
LocalDatastoreHelper
Code example
How I found this
Removed
beta
componentRun code example, then it stalls.
Ctrl+Z
and runps
to find out what command is executed via LocalDatastoreHelperExecute the same command at the terminal, then it prompts whether continue to install
beta
componentYour current Cloud SDK version is: 322.0.0 Installing components from version: 322.0.0
┌─────────────────────────────────────────────┐ │ These components will be installed. │ ├──────────────────────┬────────────┬─────────┤ │ Name │ Version │ Size │ ├──────────────────────┼────────────┼─────────┤ │ gcloud Beta Commands │ 2019.05.17 │ < 1 MiB │ └──────────────────────┴────────────┴─────────┘
For the latest full release notes, please visit: https://cloud.google.com/sdk/release_notes
Do you want to continue (Y/n)?