java-docs-samples icon indicating copy to clipboard operation
java-docs-samples copied to clipboard

assets.RealTimeFeedIT tests are failing

Open minherz opened this issue 1 year ago • 0 comments

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.

minherz avatar Jan 02 '24 18:01 minherz