Skip to content

Commit

Permalink
ARROW-6165: [Integration] Run integration tests on multiple cores
Browse files Browse the repository at this point in the history
On a local test with C++, Java, Flight and Gold files enabled, the runtime goes down from 1m56 (serial) to 35s (parallel).

Closes #6416 from pitrou/ARROW-6165-parallel-integration and squashes the following commits:

3ac06e5 <Antoine Pitrou> ARROW-6165:  Run integration tests on multiple cores

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Wes McKinney <wesm+git@apache.org>
  • Loading branch information
pitrou authored and wesm committed Feb 13, 2020
1 parent 1a5cb56 commit d4e3898
Show file tree
Hide file tree
Showing 10 changed files with 308 additions and 154 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ on:
paths:
- '.github/workflows/integration.yml'
- 'ci/**'
- 'dev/archery/**'
- 'go/**'
- 'integration/**'
- 'js/**'
- 'cpp/**'
- 'java/**'
Expand All @@ -31,7 +33,9 @@ on:
paths:
- '.github/workflows/integration.yml'
- 'ci/**'
- 'dev/archery/**'
- 'go/**'
- 'integration/**'
- 'js/**'
- 'cpp/**'
- 'java/**'
Expand Down
1 change: 1 addition & 0 deletions ci/docker/conda-integration.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ ENV GOROOT=/opt/go \
RUN wget -nv -O - https://dl.google.com/go/go${go}.linux-${arch}.tar.gz | tar -xzf - -C /opt

ENV ARROW_BUILD_INTEGRATION=ON \
ARROW_BUILD_TESTS=OFF \
ARROW_FLIGHT=ON \
ARROW_ORC=OFF \
ARROW_DATASET=OFF \
Expand Down
4 changes: 3 additions & 1 deletion dev/archery/archery/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,10 @@ def _set_default(opt, default):
help='Generate test JSON to indicated path')
@click.option('--run-flight', is_flag=True, default=False,
help='Run Flight integration tests')
@click.option('--debug', type=bool, default=False,
@click.option('--debug', is_flag=True, default=False,
help='Run executables in debug mode as relevant')
@click.option('--serial', is_flag=True, default=False,
help='Run tests serially, rather than in parallel')
@click.option('--tempdir', default=None,
help=('Directory to use for writing '
'integration test temporary files'))
Expand Down
Loading

0 comments on commit d4e3898

Please sign in to comment.