Skip to content

fix: Update generated tests to use Message instead of AbstractMessage #3729

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

lqiu96
Copy link
Contributor

@lqiu96 lqiu96 commented Apr 1, 2025

Error message during compilation:

incompatible types: com.google.protobuf.Empty cannot be converted to com.google.protobuf.AbstractMessage

@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Apr 1, 2025
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Apr 2, 2025
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Apr 2, 2025
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: l Pull request size is large. labels Apr 2, 2025
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Apr 2, 2025
@lqiu96 lqiu96 changed the title chore: Update gax-grpc's testlib refrences to use Message fix: Update generated tests to use Message instead of AbstractMessage Apr 2, 2025
Copy link

sonarqubecloud bot commented Apr 2, 2025

@lqiu96
Copy link
Contributor Author

lqiu96 commented Apr 2, 2025

Error in downstream CI logs:

/workspace/google-cloud-java/java-kms/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockLocations.java:[40,3] method does not override or implement a method from a supertype

This error is expected as it requires downstream libraries to be updated with the generator changes. There are some breaking changes in the testlib.

Copy link

sonarqubecloud bot commented Apr 2, 2025

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants