-
Notifications
You must be signed in to change notification settings - Fork 29
Update Surefire to non-milestone version #5981
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
Conversation
Jeez, tests keep failing. |
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.
Makes sense in principle, may need to add
https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#failifnospecifiedtests
to the configuration
Do you know off-hand why we have profiles with no specified tests? I can look at it more in detail if you don't know, but I wonder if it's flagging a legit issue. |
If I had to guess, we have profiles for things like unit tests, hoverfly tests, non-confidential tests, but not all modules have the full set, so when a profile is set I would not be surprised if a particular module does not have any tests. But I do see that that module had no tests before, so maybe a regression?
I think one thing to do is to set the flag and then see what the total number of unit tests recorded on Circle CI ends up being. |
seems ready to merge, but not needed for 1.16 (barring conflict) |
I keep meaning to double-check if this is a regression or not before merging. I don't think it is, that it is caused by a surefire update, and not that we stopped executing tests. In any case, I think this can wait. |
69f238d
to
1351d71
Compare
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #5981 +/- ##
==========================================
Coverage 74.41% 74.41%
- Complexity 5632 5633 +1
==========================================
Files 386 386
Lines 20192 20192
Branches 2085 2085
==========================================
+ Hits 15025 15026 +1
Misses 4167 4167
+ Partials 1000 999 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Description
Discovered in dockstore/swagger-java-zenodo-client#24 (comment)
Review Instructions
None. If it works, CI tests will pass, and if they work, the PR will be merged.
Issue
None
Security and Privacy
If there are any concerns that require extra attention from the security team, highlight them here and check the box when complete.
e.g. Does this change...
Please make sure that you've checked the following before submitting your pull request. Thanks!
mvn clean install
@RolesAllowed
annotation