GoogleCloudPlatform / GoogleCloudPlatform/spring-cloud-gcp

Stop stackdriver unit tests from doing a real healthcheck

Open
#702 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.