Skip to content
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

fix: add module-info to be ignored in unique classes test. #2369

Merged
merged 3 commits into from
Apr 11, 2024

Conversation

zhumin8
Copy link
Contributor

@zhumin8 zhumin8 commented Apr 4, 2024

Fix test failure by ignoring module-info in unique class check.

see failed test here

this test is trying to ensure there is no duplicate class names in classpath. We encountered error where "META-INF.versions.9.module-info.class" exists in multiple artifacts.

This is a descriptive file part of Java Modules ( java >9), and thus duplicate by name in different artifacts is expected.

Why do we started to observe this error now?
I compared error_prone_annotations:2.26.1 vs 2.23.0 (brought in by google-cloud-core before the version update in pr), v2.23.0 does not contain this file.

test case:
see ci result for 028ea64, this commit brings in version updates same as in the original failed test above. It's passing after this fix.

@zhumin8 zhumin8 marked this pull request as ready for review April 5, 2024 18:19
@zhumin8 zhumin8 requested a review from suztomo April 5, 2024 18:20
@zhumin8 zhumin8 merged commit f1cd6dc into master Apr 11, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants