-
Notifications
You must be signed in to change notification settings - Fork 475
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
HDDS-4000. Split acceptance tests to reduce CI feedback time #1236
Conversation
Nice idea (and nice Jira number BTW ;-) ). I like this tagging system especially because it can support optional tests. For example, I can create some optional ..._test.sh files with specific tags (like It can be easy to forget adding |
Note that they still need to be named exactly
Who writes such files from scratch? :)
Agree, this is more safe. |
Codecov Report
@@ Coverage Diff @@
## master #1236 +/- ##
============================================
- Coverage 73.73% 73.68% -0.06%
+ Complexity 10124 10113 -11
============================================
Files 974 974
Lines 50123 50123
Branches 4881 4881
============================================
- Hits 36958 36932 -26
- Misses 10835 10858 +23
- Partials 2330 2333 +3 Continue to review full report at Codecov.
|
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.
+1
Thanks the updated @adoroszlai
BTW, I don't know why the overall time (from 1:10) is increased recently. Do you have any information about that?
Thanks @elek for reviewing and committing it.
We now have 4x FS tests ((o3fs, ofs) x (bucket, link)) and 2x S3 tests (bucket, link). Upgrade is also new. |
What changes were proposed in this pull request?
Reduce total CI time:
misc
has several unrelated items, some of which can be moved to another group if it grows too long.client
is the longest one, others can take more time, too. New run times:build
check to finish. Both acceptance and integration checks perform a full build anyway. The only reason to wait was that if there is a compile error, we wanted to avoid spawning too many checks that fail for the same reason. But compile error is the least frequent CI problem, checkstyle, rat and various test failures are much more common. So being optimistic helps in the most common scenarios. (Ideally we should cache the results ofbuild
for later stages. Then we could both depend on it and avoid duplicate builds.)https://issues.apache.org/jira/browse/HDDS-4000
How was this patch tested?
https://github.com/adoroszlai/hadoop-ozone/runs/897297500