-
Notifications
You must be signed in to change notification settings - Fork 100
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
build: use mavenCentral() instead of jcenter() #1086
Conversation
Gradle says jcenter() has be deprecated.
Hi @ed-g 👋🏾 Thank you for this contribution! Our team will soon review it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @ed-g.
It appears that all tests are successful on the CI and on my computer, could you specify your configuration please?
Hi @lionel-nj! This is from building on linux x86, openjdk-17. It looks like java 17 has finally dropped a function which system-lambda-1.2.0.jar depends on? Someone suggests https://github.com/webcompere/system-stubs as an alternative. stefanbirkner/system-lambda#23
|
I'm only superficially familiar with java testing, but I've swapped in the System Stubs library. The tooManyCorruptedSource_invalidTest test now runs, but it does fail on an output comparison,
I don't know if the swapped position of source-id-5 and source-id-4 is significant, if it is not, maybe this check could be changed to allow either ordering? |
I've updated the test to pass with either ordering of source-id-4 and source-id-5, and all tests are successful on my machine. |
Hi @ed-g, it seems that this PR contains several changes. Could you separate them to help evaluate the potential side effects please?
Although the order in I'll set up the CI to test, package and generate the javadocs for this project in order to replicate what you witnessed, this will help debugging. |
Hi @lionel-nj OK I've created separate pull requests for each independent change. |
Thank you @ed-g :) |
Closing this, as it was split into separate PRs:
(thanks @ed-g!) |
I believe ubuntu-20.04 was originally added to troubleshoot issues discussed in PR #1086, which have since been resolved. Given that: * we have a lot of CI tests running, which makes review of the CI tests challenging (see #1095) * these seem to be redundant given that we're also running on `ubuntu-latest` ...I'm proposing that we remove running on this specific version of ubuntu. This should remove 6 redundant checks (3 occurrences x 2 for each Java version 11 and 17).
I believe ubuntu-20.04 was originally added to troubleshoot issues discussed in PR #1086, which have since been resolved. Given that: * we have a lot of CI tests running, which makes review of the CI tests challenging (see #1095) * these seem to be redundant given that we're also running on `ubuntu-latest` ...I'm proposing that we remove running on this specific version of ubuntu. This should remove 6 redundant checks (3 occurrences x 2 for each Java version 11 and 17).
Gradle says jcenter() has be deprecated. I've run tests before and after this change, and in both cases the
Task :output-comparator:test FAILED
, so at least there is no difference.Summary:
Fixes warnings on build.
Expected behavior:
Please make sure these boxes are checked before submitting your pull request - thanks!
gradle test
to make sure you didn't break anythingorg.mobilitydata.gtfsvalidator.outputcomparator.cli.MainTest > tooManyCorruptedSource_invalidTest FAILED
com.google.common.truth.ComparisonFailureWithFacts at MainTest.java:356
8 tests completed, 1 failed