-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Split travis jobs for parallel test #4468
Conversation
- sudo: required | ||
services: | ||
- docker | ||
env: | ||
- DOCKER_IP=172.17.0.1 | ||
install: | ||
# Only errors will be shown with the -q option. This is to avoid generating too many logs which make travis build failed. | ||
- mvn clean install -q -ff -DskipTests -B | ||
- mvn install -q -ff -DskipTests -B |
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.
Why remove clean?
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.
Every build on travis initializes the project directory by cloning druid's git repository, and thus there will be nothing to be cleaned here.
@jihoonson thanks 👍 |
commit 11f2eaa Author: dmitry.golitsyn <[email protected]> Date: Tue Jun 27 21:15:42 2017 +0300 Replace putIfAbsent with computeIfAbsent in DruidBalancer commit 574587b Author: dmitry.golitsyn <[email protected]> Date: Tue Jun 27 16:01:25 2017 +0300 Do not remove segment that should not be moved from currentlyMovingSegments (segments are removed by callbacks or not inserted) commit 7a261c8 Author: Jihoon Son <[email protected]> Date: Tue Jun 27 10:51:48 2017 +0900 Split travis test (apache#4468) commit 05d5868 Author: Roman Leventov <[email protected]> Date: Mon Jun 26 15:21:39 2017 -0500 Remove the ability to create segments in v8 format (apache#4420) * Remove ability to create segments in v8 format * Fix IndexGeneratorJobTest * Fix parameterized test name in IndexMergerTest * Remove extra legacy merging stuff * Remove legacy serializer builders * Remove ConciseBitmapIndexMergerTest and RoaringBitmapIndexMergerTest Do not remove segment that should not be moved from currentlyMovingSegments (segments are removed by callbacks or not inserted) Replace putIfAbsent with computeIfAbsent in DruidBalancer
Fixes #4402.
This patch further splits the travis test into 4 jobs each of which is for running strict compilation, processing module tests, non-processing modules test, and integration tests, respectively. Tests for processing module takes about 10 mins on travis which is about 25% of the total testing time. Strict compilation also takes more than 5 mins on travis.
With this patch, we cannot exploit the advantage of fail fast strategy, but our tests will be safer.
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)