geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-714) Add @DistributedTest to DistributedTestCase
Date Tue, 05 Jan 2016 00:57:40 GMT

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

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

Commit cb7dbd0b77507ed383e37eb7dd0925533d6dcbcf in incubator-geode's branch refs/heads/develop
from [~apache@the9muses.net]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=cb7dbd0 ]

Revert "GEODE-714: Modify all tests to use JUnit Categories"

This reverts commit ca6148aa99faf8fcb278fd7a840f69f622e6fc3f.


> Add @DistributedTest to DistributedTestCase
> -------------------------------------------
>
>                 Key: GEODE-714
>                 URL: https://issues.apache.org/jira/browse/GEODE-714
>             Project: Geode
>          Issue Type: Sub-task
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>             Fix For: 1.0.0-incubating, 1.0.0-alpha1
>
>
> 1) Add @DistributedTest to DistributedTestCase
> 2) Modify distributedTest task to:
> {noformat}
>   task distributedTest(type:Test) {
>     include '**/*DUnitTest.class'
>     // maxParallelForks = 2
>     // maxParallelForks = Runtime.runtime.availableProcessors()
>     useJUnit {
>       excludeCategories 'com.gemstone.gemfire.test.junit.categories.UnitTest'
>       excludeCategories 'com.gemstone.gemfire.test.junit.categories.IntegrationTest'
>       includeCategories 'com.gemstone.gemfire.test.junit.categories.DistributedTest'
>     }
>     //I'm hoping this might deal with SOME OOMEs I've seen
>     forkEvery 30
>   }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message