java-docs-samples
java-docs-samples copied to clipboard
assets.RealTimeFeedIT tests are failing
Description
After the dependency upgrades in #8919 one or more tests under asset fail in Java 11 (sponge).
Based on the errors:
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.716 s <<< FAILURE! - in com.example.asset.RealTimeFeedIT
[ERROR] com.example.asset.RealTimeFeedIT Time elapsed: 4.686 s <<< ERROR!
com.google.api.gax.rpc.AlreadyExistsException: io.grpc.StatusRuntimeException: ALREADY_EXISTS: Resource already exists in the project (resource=topicId).
Caused by: io.grpc.StatusRuntimeException: ALREADY_EXISTS: Resource already exists in the project (resource=topicId).
[ERROR] Errors:
[ERROR] RealTimeFeedIT » AlreadyExists io.grpc.StatusRuntimeException: ALREADY_EXISTS:...
[ERROR] Tests run: 20, Failures: 0, Errors: 1, Skipped: 1
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M5:verify (default) on project cloudasset-snippets: There are test failures.
the problem is that creating a test topic "topicId" fails because there is already a topic with this name.