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

Split travis jobs for parallel test #4468

Merged
merged 1 commit into from
Jun 27, 2017
Merged

Conversation

jihoonson
Copy link
Contributor

@jihoonson jihoonson commented Jun 26, 2017

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

- 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove clean?

Copy link
Contributor Author

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.

@b-slim
Copy link
Contributor

b-slim commented Jun 27, 2017

@jihoonson thanks 👍

@b-slim b-slim merged commit 7a261c8 into apache:master Jun 27, 2017
jon-wei pushed a commit to jon-wei/druid that referenced this pull request Jul 19, 2017
leventov pushed a commit to metamx/druid that referenced this pull request Jul 19, 2017
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
@jon-wei jon-wei added this to the 0.10.1 milestone Oct 18, 2017
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.

4 participants