GoogleCloudPlatform / GoogleCloudPlatform/spring-cloud-gcp
Stop stackdriver unit tests from doing a real healthcheck
Open
code-quality
priority: p4
testing
- Dominant language
- Java
- Stars
- 551
- Forks
- 349
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 14
Description
Running `StackdriverTraceAutoConfigurationTests` leaks environment by trying to actually do a health check.
Figure out how to turn off health check or replace with no-op.
```
Error when performing Stackdriver AsyncReporter health check.
io.grpc.StatusRuntimeException: PERMISSION_DENIED: The request is missing a valid API key.
```
or
```
WARN c.g.c.s.a.t.StackdriverTraceAutoConfiguration - Error when performing Stackdriver AsyncReporter health check.
java.lang.IllegalStateException: timeout waiting for onClose. timeoutMs=5000, resultSet=false
```
Contributor guide
Assessment
This issue has not been assessed yet.