You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/06/14 15:04:00 UTC

[jira] [Commented] (GEODE-3071) Enable parallel distributedTests using docker

    [ https://issues.apache.org/jira/browse/GEODE-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16049267#comment-16049267 ] 

ASF subversion and git services commented on GEODE-3071:
--------------------------------------------------------

Commit 588c3ed8af4b9a1b46737c2faebafa589a396e12 in geode's branch refs/heads/feature/GEODE-3071 from [~jens.deppe]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=588c3ed ]

GEODE-3071: Provide capability to parallelize distributedTests

Herewith the ability to leverage Gradle's parallel test execution
capability to run dunits in parallel. This is combined with launching
tests in Docker containers to provide process, network and filesystem
isolation. Depending on the size of your system, this can speed up
running the distributedTest task 2-5 times.

The capability is enabled by launching gradle with '-PparallelDunit'

Tunables, enabled as gradle parametrs (-P option) are:

- dunitDockerImage: The docker image which will be used to launch
  tests. The image must have the JAVA_HOME environment variable set. The
  image must be pulled locally before starting the tests.
- dunitParallelForks: The number of parallel docker containers to be
  launched.
- dunitDockerUser: The docker user which will run the tests. Because of
  the way that the containers map the build directory into them, the
  test artifacts, will be written with this user id. By default this is
  'root'.


> Enable parallel distributedTests using docker
> ---------------------------------------------
>
>                 Key: GEODE-3071
>                 URL: https://issues.apache.org/jira/browse/GEODE-3071
>             Project: Geode
>          Issue Type: Test
>          Components: tests
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>            Priority: Minor
>
> Using the docker gradle testing plugin (https://github.com/pedjak/gradle-dockerized-test-plugin) we can parallelize and isolate dunit tests.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)