8000 GrafeasInteropTest needs application default credentials · Issue #6456 · googleapis/google-cloud-java · GitHub
[go: up one dir, main page]

Skip to conte 8000 nt

GrafeasInteropTest needs application default credentials #6456

@elharo

Description

@elharo

mvn clean install fails like so:
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.207 s <<< FAILURE! - in com.google.cloud.devtools.containeranalysis.v1.GrafeasInteropTest
[ERROR] createsGrafeasClient(com.google.cloud.devtools.containeranalysis.v1.GrafeasInteropTest) Time elapsed: 0.206 s <<< ERROR!
java.io.IOException: The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
at com.google.cloud.devtools.containeranalysis.v1.GrafeasInteropTest.createsGrafeasClient(GrafeasInteropTest.java:30)
I can probably figure this out, but we should update the CONTRIBUTING.md in google-cloud-java with the necessary steps.

Metadata

Metadata

Assignees

Labels

semver: patchA minor bug fix or small change.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0